summaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/demo
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-02-17 06:08:34 +0000
committerArtur Signell <artur.signell@itmill.com>2009-02-17 06:08:34 +0000
commit94d004709a29a16e3952a524aa5e2926b43d8ce8 (patch)
tree6c88d690cf2e8ccbb6fce78aa3bde95bd8a180c0 /src/com/itmill/toolkit/demo
parent3fc6d4da23e35f6bf63c9aa968ca919dedd45586 (diff)
downloadvaadin-framework-94d004709a29a16e3952a524aa5e2926b43d8ce8.tar.gz
vaadin-framework-94d004709a29a16e3952a524aa5e2926b43d8ce8.zip
Fixed label wrapping problem in sampler / rich text example
svn changeset:6865/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/demo')
-rw-r--r--src/com/itmill/toolkit/demo/sampler/features/text/LabelRichExample.java1
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);