diff options
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VAbstractPaintableWidget.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VAbstractPaintableWidget.java b/src/com/vaadin/terminal/gwt/client/ui/VAbstractPaintableWidget.java index 9c8853bd88..c7f5c59754 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VAbstractPaintableWidget.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VAbstractPaintableWidget.java @@ -218,6 +218,9 @@ public abstract class VAbstractPaintableWidget implements VPaintableWidget { // Set defined sizes Widget component = getWidgetForPaintable(); + component.setStyleName("v-undefined-width", isUndefinedWidth()); + component.setStyleName("v-undefined-height", isUndefinedHeight()); + component.setHeight(h); component.setWidth(w); } |