]> source.dussan.org Git - vaadin-framework.git/commitdiff
Panel caption width for IE7
authorArtur Signell <artur.signell@itmill.com>
Wed, 12 Nov 2008 06:58:42 +0000 (06:58 +0000)
committerArtur Signell <artur.signell@itmill.com>
Wed, 12 Nov 2008 06:58:42 +0000 (06:58 +0000)
svn changeset:5866/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/ui/IPanel.java

index 260d6f7d9d7fd836f6ede11aaef1151ff44ca431..65ae05bf491555022d7e14d880ed8634543f8a31 100644 (file)
@@ -305,6 +305,11 @@ public class IPanel extends SimplePanel implements Container {
                 width = captionWidth;
             }
 
+            if (BrowserInfo.get().isIE7()) {
+                Util.setWidthExcludingPadding(captionNode, width
+                        - getCaptionMarginLeft(), 26);
+            }
+
             super.setWidth(width + "px");
         }