summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-03-05 13:20:41 +0200
committerLeif Åstrand <leif@vaadin.com>2012-03-05 13:21:36 +0200
commit39990a4045b4dd626db79ef5254c22ff8d590385 (patch)
tree8ffb1c229c1c0fa9bef712406c77f375da2030ff /src/com/vaadin
parent016f5997ab5e30277f0cb17678ba0d81ba81fa97 (diff)
downloadvaadin-framework-39990a4045b4dd626db79ef5254c22ff8d590385.tar.gz
vaadin-framework-39990a4045b4dd626db79ef5254c22ff8d590385.zip
Define .v-has-width/height instead of v-undefined-width/height (#8313)
Diffstat (limited to 'src/com/vaadin')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/AbstractComponentConnector.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/AbstractComponentConnector.java b/src/com/vaadin/terminal/gwt/client/ui/AbstractComponentConnector.java
index f6419afecd..f648428c6a 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/AbstractComponentConnector.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/AbstractComponentConnector.java
@@ -249,8 +249,8 @@ public abstract class AbstractComponentConnector extends AbstractConnector
// Set defined sizes
Widget component = getWidget();
- component.setStyleName("v-undefined-width", isUndefinedWidth());
- component.setStyleName("v-undefined-height", isUndefinedHeight());
+ component.setStyleName("v-has-width", !isUndefinedWidth());
+ component.setStyleName("v-has-height", !isUndefinedHeight());
component.setHeight(h);
component.setWidth(w);