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 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+unsubscr...@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.


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");



The problem is whenever some text is populated in the Text area , the 
background color behind the text goes off , will  be white color but  
the other lines(where text is not present) stay in color in assigned.



Please help! 


Thanks.



-- 
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+unsubscr...@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.