WebOSDev - Programming has just evolved

The online blog for the webOS developer community you can find everything you need here to get a strong start developing applications for the webOS platform

Change background image of a palm dialog

Posted by codesos Thursday, June 24, 2010 0 comments

Ever wanted to change the background image of a palm dialog but all you could accomplish is an ugly rectangle inside of the Palm's Dialog;

Here is your solution:

In your CSS do this:

.palm-dialog-box

{

-webkit-border-image: url(../images/backdrop-dark.png) 32 24 32 24 stretch stretch;

}
 
where backdrop-dark.png is your image.
 
Enjoy