Patch Clock Add space between Snooze and Dismiss buttons

From WebOS Internals
Revision as of 00:14, 21 October 2009 by Lclarkjr (talk | contribs) (Correct cut and past error.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


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>