Tuesday, July 10, 2018

Re: TextArea background color issue

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 textarea field,

this.getTfDesc().setValue((String) details.get("Desc"));
 

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment