Code:

TextBox textBox = new TextBox();
textBox.setText("some text");
textBox.setStyleName("myStyle"); // my style adds background color and
border
textBox.setReadOnly(true);

At this point, the text displayed in the textbox does not become
distinctive for read only fields (i.e. being a sort of grayed out).
Instead the font stays unmodified just as if the text boxt was
editable.

I use: gwt2.0, Firefox 3.5.7, XP
-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to