Yes themeing is difficult in pretty much any elaborate platform.

Derive is relatively simplistic and gets the properties of the base. 
However, there are pitfalls:

You can't recurse. 

E.g. it's very likely that the selected CommandList derives from 
CommandList and so you will end up with a conflict.

Builtin types sometimes act "oddly" with derive as they have pre-configured 
defaults. I would recommend not relying on derive semantics when working 
with a standard Codename One UIID and only using it for your own custom 
UIID's e.g. MyButton derive from Button makes sense but Button selected 
derive from Button unselected might trigger odd behavior.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/de9e2470-b802-4f79-b429-a3d7b664da17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to