aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/itmill/toolkit/ui/GridLayout.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/itmill/toolkit/ui/GridLayout.java b/src/com/itmill/toolkit/ui/GridLayout.java
index e85f5e333f..f9ecdbe3b5 100644
--- a/src/com/itmill/toolkit/ui/GridLayout.java
+++ b/src/com/itmill/toolkit/ui/GridLayout.java
@@ -402,8 +402,8 @@ public class GridLayout extends AbstractLayout {
super.paintContent(target);
// TODO refactor attribute names in future release.
- target.addAttribute("rows", rows);
- target.addAttribute("cols", cols);
+ target.addAttribute("h", rows);
+ target.addAttribute("w", cols);
if (this.spacing)
target.addAttribute("spacing", this.spacing);