aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2008-10-21 12:13:57 +0000
committerArtur Signell <artur.signell@itmill.com>2008-10-21 12:13:57 +0000
commit501f29199412945e4bb8560ee8abc0b79dee629d (patch)
tree23b2c4a55c9c4274fb75c33291ce155b17470cc8 /src
parent63340caac5e0e790ca7b0ec1a48689a2065dc40f (diff)
downloadvaadin-framework-501f29199412945e4bb8560ee8abc0b79dee629d.tar.gz
vaadin-framework-501f29199412945e4bb8560ee8abc0b79dee629d.zip
Fixed relative width bug in OrderedLayout
svn changeset:5683/svn branch:trunk
Diffstat (limited to 'src')
-rw-r--r--src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java4
1 files 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 {