summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-03-05 16:49:25 +0200
committerLeif Åstrand <leif@vaadin.com>2012-03-05 16:49:25 +0200
commit6ca2999e46a571c8866ae85fbfb055429fe26a6c (patch)
tree5ed4e6120034761d4ddb6603c57a0b8b0fa84554
parent96f62465e42d6806b7b12ff5f2bceb0429a56d09 (diff)
downloadvaadin-framework-6ca2999e46a571c8866ae85fbfb055429fe26a6c.tar.gz
vaadin-framework-6ca2999e46a571c8866ae85fbfb055429fe26a6c.zip
Properly update undefined width of tabsheet (#8313)
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/TabsheetConnector.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/TabsheetConnector.java b/src/com/vaadin/terminal/gwt/client/ui/TabsheetConnector.java
index ad53bae4f4..6b2cf9efb0 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/TabsheetConnector.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/TabsheetConnector.java
@@ -93,6 +93,10 @@ public class TabsheetConnector extends TabsheetBaseConnector implements
}
tabsheet.updateOpenTabSize();
+ if (isUndefinedWidth()) {
+ tabsheet.updateDynamicWidth();
+ }
+
tabsheet.iLayout();
}