Closed frankhdz closed 7 years ago
Using xml:
<Button format-color="0xFF0000" text="'Hit me'"/>
Using code:
var btn = UIBuilder.create(Button, {
format : { color : 0xFF0000 },
text : "Hit me"
});
I found it in the docs just as you posted. Thanks!
This is not so much an issue but a question. How do you set the label color in a button? I have been looking for documentation on this but none seems to be available.