aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-04-03 13:56:07 +0300
committerLeif Åstrand <leif@vaadin.com>2012-04-03 14:41:41 +0300
commit6bf22c0d4359034e2f934038382895f177f6a458 (patch)
tree89e83d4842424bd32ea1c5691628e5a2ff41ae3a /src
parent307ad43d571f4f5c9b8792632efb728c4460f4be (diff)
downloadvaadin-framework-6bf22c0d4359034e2f934038382895f177f6a458.tar.gz
vaadin-framework-6bf22c0d4359034e2f934038382895f177f6a458.zip
Do panel wrapper sizing with css
Diffstat (limited to 'src')
-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);