]> source.dussan.org Git - vaadin-framework.git/commitdiff
Properly update undefined width of tabsheet (#8313)
authorLeif Åstrand <leif@vaadin.com>
Mon, 5 Mar 2012 14:49:25 +0000 (16:49 +0200)
committerLeif Åstrand <leif@vaadin.com>
Mon, 5 Mar 2012 14:49:25 +0000 (16:49 +0200)
src/com/vaadin/terminal/gwt/client/ui/TabsheetConnector.java

index ad53bae4f486d1d6918fb054e71d125c5a9b376b..6b2cf9efb0ac38b051e6505a5e30f06c1533c79a 100644 (file)
@@ -93,6 +93,10 @@ public class TabsheetConnector extends TabsheetBaseConnector implements
         }
 
         tabsheet.updateOpenTabSize();
+        if (isUndefinedWidth()) {
+            tabsheet.updateDynamicWidth();
+        }
+
         tabsheet.iLayout();
 
     }