Skip to main content

TextField and Theme

5 replies [Last post]
vuqpham
Offline
Joined: 2008-06-13
Points: 0

I use the Resource Editor to create a theme and add several different properties for diffrent objects. I can change form style, text area style ... but I cannot change the textfield style.
On the same form which has one textarea and one textfield, only the textarea changes accordingly, and the textfield keeps its own colors. I think textfield, which is extended from textarea, should get affected by the theme 's textarea propeties.

Is this a bug, or will the resource editor will have textfield added later ?

Thanks,
Vu

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
chen

Hi,
As mentioned before the Style selector for TextField is "TextField", at
the current version of the resource editor you need to add this selector
manually.
In the resource editor click the "add" button and insert manually
"TextField" selector in the Component combo and select the properties
you would like to add/modify.

Regards,
Chen

lwuit-users@mobileandembedded.org wrote:
> My post was not very clear. Just want to make it clearer.
>
> After using the Resource Editor to create the theme, I add the them to the app's resource folder 'res'. The theme does affect the application's objects like textareas, forms, ... but it does not affect the TextField object.
>
> Vu
> [Message sent by forum member 'vuqpham' (vuqpham)]
>
> http://forums.java.net/jive/thread.jspa?messageID=280698
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

vuqpham
Offline
Joined: 2008-06-13
Points: 0

Thanks, Chen. Yes, it works by manually adding the TextField.

Vu

chen

Hi,
In the resource editor click "add" and insert manually "TextField"
selector in the Component combo.
In the next drop we will add the "TextField" to the drop down list.

Thanks,
Chen

lwuit-users@mobileandembedded.org wrote:
> I use the Resource Editor to create a theme and add several different properties for diffrent objects. I can change form style, text area style ... but I cannot change the textfield style.
> On the same form which has one textarea and one textfield, only the textarea changes accordingly, and the textfield keeps its own colors. I think textfield, which is extended from textarea, should get affected by the theme 's textarea propeties.
>
> Is this a bug, or will the resource editor will have textfield added later ?
>
> Thanks,
> Vu
> [Message sent by forum member 'vuqpham' (vuqpham)]
>
> http://forums.java.net/jive/thread.jspa?messageID=280617
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

vuqpham
Offline
Joined: 2008-06-13
Points: 0

My post was not very clear. Just want to make it clearer.

After using the Resource Editor to create the theme, I add the them to the app's resource folder 'res'. The theme does affect the application's objects like textareas, forms, ... but it does not affect the TextField object.

Vu

chenf
Offline
Joined: 2008-04-29
Points: 0

Hi,
In the resource editor click "add" and insert manually "TextField" selector in the Component combo.
In the next drop we will add the "TextField" to the drop down list.

Thanks,
Chen