diff options
-rw-r--r-- | src/com/itmill/toolkit/demo/sampler/features/text/LabelRichExample.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/demo/sampler/features/text/LabelRichExample.java b/src/com/itmill/toolkit/demo/sampler/features/text/LabelRichExample.java index d7e2551e04..aee62182a6 100644 --- a/src/com/itmill/toolkit/demo/sampler/features/text/LabelRichExample.java +++ b/src/com/itmill/toolkit/demo/sampler/features/text/LabelRichExample.java @@ -23,6 +23,7 @@ public class LabelRichExample extends VerticalLayout implements ClickListener { + "<p>The <b>quick</b> brown fox jumps <sup>over</sup> the <b>lazy</b> dog.</p>"
+ "<p>This text can be edited with the <i>Edit</i> -button</p>");
richText.setContentMode(Label.CONTENT_XHTML);
+ richText.setSizeUndefined();
addComponent(richText);
|