There is a lot of code there to clarify and make things 100% in code but 
really most of this is just theme e.g. the font sizes, borders, alignment 
etc. would all be something you would do in the theme and not code so that 
is irrelevant. 

The button and badge components are components you would create anyway so 
there is no real boilerplate there...

So the whole code of placing the badge is really just 2 lines of code (the 
layered layout enclose and lead component).

We have the validation framework that places error icons, I'd like to 
revisit that so it uses the material font and the new RoundBorder styling. 

I also have some code in the FloatingActionButton to support badging that 
isn't committed yet, this should make this code shorter.

-- 
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/3b7a64b6-132a-427f-b358-b442bbb11fbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to