aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/AbsoluteLayout.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/ui/AbsoluteLayout.java')
-rw-r--r--server/src/com/vaadin/ui/AbsoluteLayout.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/AbsoluteLayout.java b/server/src/com/vaadin/ui/AbsoluteLayout.java
index 6353a4b25d..63bbe70157 100644
--- a/server/src/com/vaadin/ui/AbsoluteLayout.java
+++ b/server/src/com/vaadin/ui/AbsoluteLayout.java
@@ -759,8 +759,8 @@ public class AbsoluteLayout extends AbstractLayout implements
private void writePositionAttribute(Node node, String key, String symbol,
Float value) {
if (value != null) {
- String valueString = DesignAttributeHandler.formatFloat(value
- .floatValue());
+ String valueString = DesignAttributeHandler.getFormatter().format(
+ value);
node.attr(key, valueString + symbol);
}
}