summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/client/VCaption.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-02-17 12:59:41 +0200
committerLeif Åstrand <leif@vaadin.com>2012-02-17 12:59:41 +0200
commit0b3ca5b9604f956614d9e83e7af7557c38f8dfe2 (patch)
treef8f81ee55bc5ff42b0e88b7998b79be53e509717 /src/com/vaadin/terminal/gwt/client/VCaption.java
parent0edb315f69b50a789be3bf6737bbe73ed0feefee (diff)
downloadvaadin-framework-0b3ca5b9604f956614d9e83e7af7557c38f8dfe2.tar.gz
vaadin-framework-0b3ca5b9604f956614d9e83e7af7557c38f8dfe2.zip
Avoid captions wrapping over multiple rows (#8313)
Diffstat (limited to 'src/com/vaadin/terminal/gwt/client/VCaption.java')
-rw-r--r--src/com/vaadin/terminal/gwt/client/VCaption.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/VCaption.java b/src/com/vaadin/terminal/gwt/client/VCaption.java
index f6d8ffe58e..286d3fc17f 100644
--- a/src/com/vaadin/terminal/gwt/client/VCaption.java
+++ b/src/com/vaadin/terminal/gwt/client/VCaption.java
@@ -24,8 +24,6 @@ public class VCaption extends HTML {
private Element captionText;
- private Element clearElement;
-
private final ApplicationConnection client;
private boolean placedAfterComponent = false;
@@ -39,8 +37,6 @@ public class VCaption extends HTML {
protected static final String ATTRIBUTE_ERROR = "error";
protected static final String ATTRIBUTE_HIDEERRORS = "hideErrors";
- private static final String CLASSNAME_CLEAR = CLASSNAME + "-clearelem";
-
/**
*
* @param component
@@ -196,12 +192,6 @@ public class VCaption extends HTML {
errorIndicatorElement = null;
}
- if (clearElement == null) {
- clearElement = DOM.createDiv();
- clearElement.setClassName(CLASSNAME_CLEAR);
- getElement().appendChild(clearElement);
- }
-
return (wasPlacedAfterComponent != placedAfterComponent);
}