aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/AbstractOrderedLayout.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractOrderedLayout.java')
-rw-r--r--server/src/com/vaadin/ui/AbstractOrderedLayout.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/AbstractOrderedLayout.java b/server/src/com/vaadin/ui/AbstractOrderedLayout.java
index 67bcfc904c..3aec3b2d7a 100644
--- a/server/src/com/vaadin/ui/AbstractOrderedLayout.java
+++ b/server/src/com/vaadin/ui/AbstractOrderedLayout.java
@@ -563,8 +563,8 @@ public abstract class AbstractOrderedLayout extends AbstractLayout implements
if (expandRatio == 1.0f) {
childElement.attr(":expand", "");
} else if (expandRatio > 0) {
- childElement.attr(":expand",
- DesignAttributeHandler.formatFloat(expandRatio));
+ childElement.attr(":expand", DesignAttributeHandler
+ .getFormatter().format(expandRatio));
}
}
}