Difference between revisions of "Patch Clock Add space between Snooze and Dismiss buttons"

From WebOS Internals
Jump to navigation Jump to search
(Add patch to add space between the Snooze and Dismiss buttons.)
 
m (Correct cut and past error.)
 
Line 27: Line 27:
  
 
<pre><nowiki>
 
<pre><nowiki>
"height": 200,
+
"height": 275,
 
</nowiki></pre>
 
</nowiki></pre>
  

Latest revision as of 00:14, 21 October 2009


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>