From ccbed3fcfa5870c376014036bde8455aaa952384 Mon Sep 17 00:00:00 2001 From: Matti Hosio Date: Wed, 3 Dec 2014 13:41:05 +0200 Subject: Declarative support for AbsoluteLayout (#7749) Change-Id: Icd90d78b3ddd14ffaef48f610c043e7a816db106 --- server/src/com/vaadin/ui/AbstractComponent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src/com/vaadin/ui/AbstractComponent.java') diff --git a/server/src/com/vaadin/ui/AbstractComponent.java b/server/src/com/vaadin/ui/AbstractComponent.java index b5721a0bba..8ee3f722ab 100644 --- a/server/src/com/vaadin/ui/AbstractComponent.java +++ b/server/src/com/vaadin/ui/AbstractComponent.java @@ -1029,7 +1029,7 @@ public abstract class AbstractComponent extends AbstractClientConnector attributes.put("width-auto", "true"); } else { String widthString = DesignAttributeHandler - .formatDesignAttribute(getWidth()) + .formatFloat(getWidth()) + getWidthUnits().getSymbol(); attributes.put("width", widthString); @@ -1043,7 +1043,7 @@ public abstract class AbstractComponent extends AbstractClientConnector attributes.put("height-auto", "true"); } else { String heightString = DesignAttributeHandler - .formatDesignAttribute(getHeight()) + .formatFloat(getHeight()) + getHeightUnits().getSymbol(); attributes.put("height", heightString); } -- cgit v1.2.3