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

avoiding virtual keyborad popup on textfield in Pre 3

Posted by codesos Monday, July 11, 2011 2 comments

courtesy of Doug Reeder:

Mojo presumes there's a keyboard present, and so sets keyboard focus on the first textfield in a scene, unless you call SceneController.setInitialFocusedElement(null). Many developers don't check whether their app is running on a TouchPad,

Hi from NYC!!

Posted by codesos Saturday, November 20, 2010 0 comments


Hi All ,

Now I'm in the Webos 2 Developer day in NYC , Having the time of my life.


CYA

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

Move FilterField from top of scene

Posted by codesos Monday, April 5, 2010 2 comments



Tried to use FilterList widget with a view menu or a normal header? this is a problem because they  collided with the filter field once a letter is typed, because the filter field does not honor the height setting.

to over come it , add a class to your FilterListWidget and in the CSS do that:
.[Filter List Class] .filter-field-container {
    top: 0px;
    left: 0px;
    position: fixed;
    width: 100%;
    height: 100px;
    z-index: 0;
}

This will fix this issue.

Nice Ah?