This code snippet was done for Button: Submit, Clear and Add, initially.
Button submit=new Button("Submit");
submit.getSelectedStyle().setTextDecoration(Style.TEXT_DECORATION_UNDERLINE);
Buttons looked like the one in the attached screenshot.
Now that line was deleted to this below
However, buttons still looked like this shown in screenshot, even after
revalidate, and rebuild was done.
Button submit=new Button("Submit");
submit.getSelectedStyle().setTextDecoration(Style.TEXT_DECORATION_NONE);
--
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/dfffed22-dbaa-44e5-a2f7-a57e0a1196be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.