Patch Clock Add space between Snooze and Dismiss buttons

From WebOS Internals

Revision as of 23:14, 20 October 2009 by Lclarkjr (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Introduction

The following assumes that you have experience applying modifications.

This modification adds space between the Snooze and Dismiss buttons for Clock Alarms.

Editing Process

Edit

/usr/palm/applications/com.palm.app.clock/app/controllers/app-assistant.js


Find the function

AppAssistant.prototype.createRingStage = function createRingStage(params, callsResponse)

Within this function find

"height": 200,

And replace it with

"height": 275,


Edit

/usr/palm/applications/com.palm.app.clock/app/views/ring/ring-scene.html

In the first line replace

height: 200px;

with

height: 275px;

Find the following line

<div id="close_button" x-mojo-tap-highlight="immediate" class="palm-notification-button affirmative"><span x-mojo-loc="">Dismiss</span></div>

and add the following line below it

<div style="height: 75px;"></div>
Personal tools
Google AdSense