diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-03-09 13:56:15 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-03-09 13:56:15 +0200 |
commit | e6a1da6302b2a47defa745594426c563370712e2 (patch) | |
tree | 5170af84287058f9768365194e7a8c178966b3b1 /src | |
parent | 1c455b5a922037f97ad471bbd8ca907f0c067dff (diff) | |
download | vaadin-framework-e6a1da6302b2a47defa745594426c563370712e2.tar.gz vaadin-framework-e6a1da6302b2a47defa745594426c563370712e2.zip |
Fix problem with space reserved for scrollbars (#8313)
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/WindowConnector.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/WindowConnector.java b/src/com/vaadin/terminal/gwt/client/ui/WindowConnector.java index 7468ebfb31..000e743a78 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/WindowConnector.java +++ b/src/com/vaadin/terminal/gwt/client/ui/WindowConnector.java @@ -19,6 +19,7 @@ import com.vaadin.terminal.gwt.client.ApplicationConnection; import com.vaadin.terminal.gwt.client.ComponentConnector; import com.vaadin.terminal.gwt.client.LayoutManager; import com.vaadin.terminal.gwt.client.UIDL; +import com.vaadin.terminal.gwt.client.Util; import com.vaadin.terminal.gwt.client.ui.ShortcutActionHandler.BeforeShortcutActionListener; public class WindowConnector extends AbstractComponentContainerConnector @@ -263,6 +264,8 @@ public class WindowConnector extends AbstractComponentContainerConnector int footerHeight = lm.getOuterHeight(window.footer); contentStyle.setPaddingBottom(footerHeight, Unit.PX); contentStyle.setMarginBottom(-footerHeight, Unit.PX); + + Util.runWebkitOverflowAutoFix(window.contentPanel.getElement()); } public void postLayout() { |