Hi Guys,

so, in fact i have a problem with the PushButton and HTML elements.
I try something like this:

String text = "Hello World";
String label = "<b>"  + text+ "</b>";
PushButton b = new PushButton();
b.setText(new HTML(l).toString());
....

Browser Result:
<b>Hello World</b>

But i just want to see the text in bold style, but not with the HTML
tags.

So, knows anybody about a workaround or is there just no possibility
to style text in a PushButton?

Thanks a lot.

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