diff options
Diffstat (limited to 'src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java')
-rw-r--r-- | src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java | 8 |
1 files changed, 8 insertions, 0 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 2b0be73c58..f875fee465 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java @@ -151,6 +151,14 @@ public class IOrderedLayout extends CellBasedLayout { if (isDynamicWidth()) {
childComponentContainer.renderChild(childUIDL, client, 0);
+ } else if (Util.isCached(childUIDL)) {
+ /*
+ * We must update the size of the relative sized component if
+ * the expand ratio or something else in the layout changes
+ * which affects the size of a relative sized component
+ */
+ client.handleComponentRelativeSize(childComponentContainer
+ .getWidget());
} else {
childComponentContainer.renderChild(childUIDL, client,
activeLayoutSize.getWidth());
|