diff options
author | John Ahlroos <john@vaadin.com> | 2012-09-03 12:09:36 +0300 |
---|---|---|
committer | John Ahlroos <john@vaadin.com> | 2012-09-03 12:09:46 +0300 |
commit | 169920045e870e307dee9e2447487a9befc896c7 (patch) | |
tree | 4364fc2a237bf8844ffa3e33774d1caee6776e8f | |
parent | bd2e7a495b10fe903d1473ca1c5c6cbff9bf7011 (diff) | |
download | vaadin-framework-169920045e870e307dee9e2447487a9befc896c7.tar.gz vaadin-framework-169920045e870e307dee9e2447487a9befc896c7.zip |
Fixing failing undefined width calculations
-rw-r--r-- | client/src/com/vaadin/client/ui/AbstractComponentConnector.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/com/vaadin/client/ui/AbstractComponentConnector.java b/client/src/com/vaadin/client/ui/AbstractComponentConnector.java index d5e8dc0ba0..294d793050 100644 --- a/client/src/com/vaadin/client/ui/AbstractComponentConnector.java +++ b/client/src/com/vaadin/client/ui/AbstractComponentConnector.java @@ -239,12 +239,12 @@ public abstract class AbstractComponentConnector extends AbstractConnector @Override public boolean isUndefinedHeight() { - return getState().height == null || getState().height.length() == 0; + return ComponentStateUtil.isUndefinedHeight(getState()); } @Override public boolean isUndefinedWidth() { - return getState().width == null && getState().width.length() == 0; + return ComponentStateUtil.isUndefinedWidth(getState()); } /* |