From b5486bce95d754a3fd1ff169679c4714c42154ee Mon Sep 17 00:00:00 2001 From: Automerge Date: Tue, 15 May 2012 09:09:09 +0000 Subject: [PATCH] [merge from 6.7] #5521 fixed condition that was always checking for height, not width svn changeset:23740/svn branch:6.8 --- src/com/vaadin/terminal/gwt/client/ui/VView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/vaadin/terminal/gwt/client/ui/VView.java b/src/com/vaadin/terminal/gwt/client/ui/VView.java index abebf0ea4a..ec4c5d9cba 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VView.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VView.java @@ -446,7 +446,8 @@ public class VView extends SimplePanel implements Container, ResizeHandler, .getProperty(direction))) { parentOfVApp.getStyle().setProperty(direction, "100%"); } - } else if (parentOfVApp.getStyle().getHeight().contains("%")) { + } else if (parentOfVApp.getStyle().getProperty(direction) + .contains("%")) { // if layout size is undefined or fixed and we have set a // percentual size for portlet-body, remove size setting on // portlet body -- 2.39.5