Hi Folk!
I want to change the background color of a specific button here is the code:
Button btn = new Button("Production");
btn.setBackgroundColor("red");
But the button still the same, i noticed that the background changed when i refresh the page for a few milliseconds to red then it get back to default button color.
Any help will be appreciated.
I want to change the background color of a specific button here is the code:
Button btn = new Button("Production");
btn.setBackgroundColor("red");
But the button still the same, i noticed that the background changed when i refresh the page for a few milliseconds to red then it get back to default button color.
Any help will be appreciated.
Comment