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 The width of Radiobutton

Posted by codesos Wednesday, September 23, 2009 0 comments

Tried to do that and failed?
Well it's a bug in the 191.14 SDK

Here's a workaround

in your .css file place this


.palm-radiobutton {
   min-width: 10px;
}

Now change the width

.[YourControl's Class]
{
    width:230px;
 }

changing the value font size of a ListSelector

Posted by codesos Sunday, September 20, 2009 0 comments

In the scene (html file), you must add a custom class label like so:

<div class="palm-row my-custom-style" x-mojo-tap-highlight="momentary">
   <div class="palm-row-wrapper">
      <div id="stages" x-mojo-element="ListSelector"></div>
   </div>
</div>

Then in the stylesheet, you reference that custom class and subclass ".title":

.my-custom-style .title {
   font-size:12px;
}