diff options
Diffstat (limited to 'src/com/vaadin/terminal/gwt/client/ui/VPanel.java')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VPanel.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VPanel.java b/src/com/vaadin/terminal/gwt/client/ui/VPanel.java index 4ec7221522..e0ade0c428 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VPanel.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VPanel.java @@ -405,9 +405,7 @@ public class VPanel extends SimplePanel implements Container, if (containerHeight < 0) { containerHeight = 0; } - DOM - .setStyleAttribute(contentNode, "height", containerHeight - + "px"); + DOM.setStyleAttribute(contentNode, "height", containerHeight + "px"); } else { DOM.setStyleAttribute(contentNode, "height", ""); } |