Re: TextArea background color issue

2018-07-10 Thread Sriram Gellu
> > com.gwtext.client.widgets.form.TextArea is the class > here is the code TextArea tfDesc = new TextArea("CP Description", "cpDesc"); tfDesc.setLabelStyle("width:150px"); tfDesc.getElement().getStyle().setBackgroundColor("#fdfdbb"); -- setters and getters of TextArea assining value to

Re: TextArea background color issue

2018-07-09 Thread Frank
Please provide some more code. I am thinking you are replacing the TextArea with another one when setting the text or something like that. And by TextArea. You mean the plain vanilla GWT TextArea ? Not bootstrap or Material or something else ? -- You received this message because you are

TextArea background color issue

2018-07-09 Thread Sriram Gellu
Hi All , Greetings! I have creates a TextArea element and added it to HorizontalPanel. Now, I want to highlight background of TextArea with some color. I used below lines , tfDesc.getElement().getStyle().setBackgroundColor("#*fdfdbb*"); tfDesc.setStyle("background-color:#fdfdbb");