diff options
author | Matti Hosio <mhosio@vaadin.com> | 2014-12-03 13:41:05 +0200 |
---|---|---|
committer | Matti Hosio <mhosio@vaadin.com> | 2014-12-04 15:08:06 +0200 |
commit | ccbed3fcfa5870c376014036bde8455aaa952384 (patch) | |
tree | 9415a79a4e2a8a19c2e2a5db3b3d01c832ab3614 /server/src/com/vaadin/ui/AbstractComponent.java | |
parent | 9730b6def11af6f0bcb1e8b0535e0ec081ac84dd (diff) | |
download | vaadin-framework-ccbed3fcfa5870c376014036bde8455aaa952384.tar.gz vaadin-framework-ccbed3fcfa5870c376014036bde8455aaa952384.zip |
Declarative support for AbsoluteLayout (#7749)
Change-Id: Icd90d78b3ddd14ffaef48f610c043e7a816db106
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractComponent.java')
-rw-r--r-- | server/src/com/vaadin/ui/AbstractComponent.java | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |