-
12 Feb 2012 7:14 AM #1
TextButton won't display HTML text
TextButton won't display HTML text
I'm trying to get a TextButton to display HTML text but it keeps rendering that in plain text, how do I fix this?
-
12 Feb 2012 7:38 PM #2
Hi,
Are you using setText() or setHTML() ?
Cheers
Rob
-
12 Feb 2012 7:40 PM #3
Rob,
I'm calling setHTML() however it does the same thing as setText().
-Dave
-
12 Feb 2012 9:42 PM #4
Hi,
Interesting, the implementations are different:
CheersCode:@Override public void setText(String text) { cell.setText(text); redraw(); // redrawTask.delay(1); } @Override public void setHTML(SafeHtml html) { setHTML(html.asString()); } @Override public void setHTML(String html) { cell.setHTML(html); redrawTask.delay(1); }
Rob
-
15 Feb 2012 10:39 AM #5
The implementations are different, but the apparent effect is the same - thanks for reporting this.
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTGWT-1419
in
3.0 Beta 4.


Reply With Quote