I did this below, and button looked like a label which is expected.
However, I need this returned to default.
changing UID to button, doesnt work and setSTyle() is not having an effect
on it.
submit=new Button("Submit");
submit.setUIID("Label");
Container placeButtons=new Container(new GridLayout(1,3));
placeButtons.addComponent(submit);
submit.addActionListener((e) ->{
getInvoice();
});
On Wednesday, June 26, 2019 at 3:46:43 AM UTC+1, Shai Almog wrote:
>
> Do you do something like setUIID or setStyle afterwards?
> It would wipe changes to the Style object.
>
--
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/b7db941f-2807-48b7-811f-019a60f4fd64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.