Skip to main content

problem with default style

1 reply [Last post]
mixaz
Offline
Joined: 2009-09-04
Points: 0

Hi all,
I observe following strange thing:
1. create an empty theme in resource editor
2. change default selected style to fgColor=FFFFFF and bgColor=0
3. See that in LWUITDemo in res editor (on right side) selected style changed accordingly. For example open Dialog demo and see that selected item is paint white on black
4. modify LWUITDemo code to load this theme instead of 'LWUItheme.res'. See that selected style is not applied to Dialog Demo items
5. Add to the theme settings for 'TextField', 'TextArea' in selected style, and see that they do apply to items in DialogDemo
So it seems that LWUITDemo is not the same in res editor and when built from sources. Looks like the default style is not inherited by derived components

Mike

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07
Points: 0

A version of LWUIT demo is "linked into" the resource editor, due to that you can't even use the pickMIDlet functionality with the LWUIT demo.