aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/client/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/terminal/gwt/client/ui')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/PanelConnector.java13
1 files changed, 0 insertions, 13 deletions
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);