summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-02-27 15:38:44 +0200
committerLeif Åstrand <leif@vaadin.com>2012-02-27 15:38:44 +0200
commitd57efca78be178a5aba4e1fe3c67d6e4b2c7b9e8 (patch)
tree3e8cbb37eed8c11af5e78dea2850bfb019ee2dc7 /src/com
parentcb9bb24ed90cb662cc07fb0f59e0807f735baed6 (diff)
downloadvaadin-framework-d57efca78be178a5aba4e1fe3c67d6e4b2c7b9e8.tar.gz
vaadin-framework-d57efca78be178a5aba4e1fe3c67d6e4b2c7b9e8.zip
Don't use max-width as it prevents widgets from growing
Diffstat (limited to 'src/com')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/layout/VLayoutSlot.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/layout/VLayoutSlot.java b/src/com/vaadin/terminal/gwt/client/ui/layout/VLayoutSlot.java
index d60486aa70..1ee7049510 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/layout/VLayoutSlot.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/layout/VLayoutSlot.java
@@ -91,7 +91,6 @@ public abstract class VLayoutSlot {
if (isRelativeWidth()) {
style.setPropertyPx("width", (int) availableWidth);
style.clearProperty("minWidth");
- style.clearProperty("maxWidth");
} else {
style.clearProperty("width");
if (caption != null && captionAboveCompnent) {
@@ -99,7 +98,6 @@ public abstract class VLayoutSlot {
} else {
style.clearProperty("minWidth");
}
- style.setPropertyPx("maxWidth", (int) availableWidth);
}
AlignmentInfo alignment = getAlignment();