From 501f29199412945e4bb8560ee8abc0b79dee629d Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 21 Oct 2008 12:13:57 +0000 Subject: [PATCH] Fixed relative width bug in OrderedLayout svn changeset:5683/svn branch:trunk --- .../itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java index 7ca5f56aac..5e14496553 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java @@ -305,7 +305,7 @@ public class IOrderedLayout extends CellBasedLayout { widgetWidth = captionWidth; } } - + int widgetHeight = s.getHeight() + childComponentContainer.getCaptionHeightAboveComponent(); @@ -467,7 +467,7 @@ public class IOrderedLayout extends CellBasedLayout { } else { // Vertical - if (isDynamicHeight()) { + if (isDynamicWidth()) { activeLayoutWidth = maxComponentWidth; setOuterLayoutWidth(maxComponentWidth); } else { -- 2.39.5