From 6bf22c0d4359034e2f934038382895f177f6a458 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Tue, 3 Apr 2012 13:56:07 +0300 Subject: Do panel wrapper sizing with css --- src/com/vaadin/terminal/gwt/client/ui/PanelConnector.java | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/com/vaadin') diff --git a/src/com/vaadin/terminal/gwt/client/ui/PanelConnector.java b/src/com/vaadin/terminal/gwt/client/ui/PanelConnector.java index e39781952a..03a76839e7 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/PanelConnector.java +++ b/src/com/vaadin/terminal/gwt/client/ui/PanelConnector.java @@ -202,19 +202,6 @@ public class PanelConnector extends AbstractComponentContainerConnector void updateSizes() { VPanel panel = getWidget(); - Style contentStyle = panel.contentNode.getStyle(); - if (isUndefinedHeight()) { - contentStyle.clearHeight(); - } else { - contentStyle.setHeight(100, Unit.PCT); - } - - if (isUndefinedWidth()) { - contentStyle.clearWidth(); - } else { - contentStyle.setWidth(100, Unit.PCT); - } - LayoutManager layoutManager = getLayoutManager(); int top = layoutManager.getInnerHeight(panel.captionNode); int bottom = layoutManager.getInnerHeight(panel.bottomDecoration); -- cgit v1.2.3