Hi all,

I would like to create a non-editable color-controlled (or style-
controlled) textArea for a GWT chat application.
For instance I woud like to change the color (or the text-style) of
the messages depending on the message sender.

To do that, after reading previous posts on this group I  created a
HTML object, adding some very basic styles to the  standard.css file.
In fact my application inherits the standard theme, as I can read from
the xml configuration file:

<inherits name="com.google.gwt.user.theme.standard.Standard"/>

So for instance I added the .gwt-HTML-blue {text-color: blue} to the
standard.css file the and in my application i invoked the method:
HTMLObject.addSyleDependentname("blue")

BUT  actually nothing happens: my message in the textArea is still
black instead of blue.

Why?

I tried also to create a RichTextArea object and I tried  to invoke
the method
RichTextAreaObject.getBasicFormatter().toggleBold(), in order to set
my message as bold,
BUT  it doesn't work

Thanks in advance, bye


Steve
--~--~---------~--~----~------------~-------~--~----~
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