Patch Clock Add space between Snooze and Dismiss buttons

From WebOS Internals
Revision as of 05:13, 18 October 2009 by Lclarkjr (talk | contribs) (Add patch to add space between the Snooze and Dismiss buttons.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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": 200,


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>