diff options
author | Artur Signell <artur@vaadin.com> | 2015-07-11 21:54:02 +0300 |
---|---|---|
committer | patrik <patrik@vaadin.com> | 2015-08-12 16:11:15 +0300 |
commit | ae98589bf87adf65af3f811f4bba3d8f31ccff18 (patch) | |
tree | 2de86d0ccfe1c5ac082b7fccd4930e388dc299bb /client | |
parent | f6f4a28cf98368ad0eb1a8b5e9a973366c9c4fcf (diff) | |
download | vaadin-framework-ae98589bf87adf65af3f811f4bba3d8f31ccff18.tar.gz vaadin-framework-ae98589bf87adf65af3f811f4bba3d8f31ccff18.zip |
Do not force zero height for empty caption height in FormLayout (#15409)
Change-Id: I6dc347f44f3eda51d1d5497af1376355f5665cee
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/VFormLayout.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/client/src/com/vaadin/client/ui/VFormLayout.java b/client/src/com/vaadin/client/ui/VFormLayout.java index 84a9b4f3dd..bcbb3ebf7b 100644 --- a/client/src/com/vaadin/client/ui/VFormLayout.java +++ b/client/src/com/vaadin/client/ui/VFormLayout.java @@ -22,7 +22,6 @@ import java.util.List; import com.google.gwt.aria.client.Roles; import com.google.gwt.dom.client.Element; -import com.google.gwt.dom.client.Style.Overflow; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.user.client.DOM; @@ -327,22 +326,6 @@ public class VFormLayout extends SimplePanel { requiredFieldIndicator = null; } } - - // Workaround for IE weirdness, sometimes returns bad height in some - // circumstances when Caption is empty. See #1444 - // IE7 bugs more often. I wonder what happens when IE8 arrives... - // FIXME: This could be unnecessary for IE8+ - if (BrowserInfo.get().isIE()) { - if (isEmpty) { - setHeight("0px"); - getElement().getStyle().setOverflow(Overflow.HIDDEN); - } else { - setHeight(""); - getElement().getStyle().clearOverflow(); - } - - } - } /** |