I'm looking how can I change the label color on codename one.
I've tried this one but it didn't work at all:
Labelname.getSelectedStyle().setFgColor(ColorUtil.CYAN);
Label testLabel = new Label("test");
testLabel.getAllStyles.setFgColor(0xff000);
Use above codes . It will change label color
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With