How can I change the styling/appearance of a TextButton in EXT GWT 3 ?
I am mostly interested in the background color.
Thank you, Horatiu
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
GXT 2x was easier … but … GXT 3 is supposed to be easier to maintain for large projects.
Sencha gives different ways for GXT 3 but the one I think I will use is to create an appearance and then pass it in via a constructor. Here is their example:
The complete example is at:
Sencha’s explanation and reasoning
Think you have to create your own appearance (based off an existing one and changing the bit you want) Not trivial it seems.
More reasoning on the Appearance usage is at gxt3 appearance explanation