aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni.koivuviita@itmill.com>2007-11-02 08:00:04 +0000
committerJouni Koivuviita <jouni.koivuviita@itmill.com>2007-11-02 08:00:04 +0000
commitf772e1465d2fe2d33029b567549d9d2b2aaa9410 (patch)
tree897080fba902f28b94111cf0c8370bb4f878470d /src
parent986f6918e68a7f1e695815282e8102c3c5221750 (diff)
downloadvaadin-framework-f772e1465d2fe2d33029b567549d9d2b2aaa9410.tar.gz
vaadin-framework-f772e1465d2fe2d33029b567549d9d2b2aaa9410.zip
small fix
svn changeset:2668/svn branch:trunk
Diffstat (limited to 'src')
-rw-r--r--src/com/itmill/toolkit/ui/AbstractLayout.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/itmill/toolkit/ui/AbstractLayout.java b/src/com/itmill/toolkit/ui/AbstractLayout.java
index 88ea27174c..a35ace0f87 100644
--- a/src/com/itmill/toolkit/ui/AbstractLayout.java
+++ b/src/com/itmill/toolkit/ui/AbstractLayout.java
@@ -20,7 +20,7 @@ public abstract class AbstractLayout extends AbstractComponentContainer
* is set to true, if the client-side implementation should leave extra
* space at that edge.
*/
- private boolean[] margins;
+ protected boolean[] margins;
/**
* Height of the layout. Set to -1 for undefined height.
@@ -197,7 +197,7 @@ public abstract class AbstractLayout extends AbstractComponentContainer
target.addAttribute("height", getHeight()
+ UNIT_SYMBOLS[getHeightUnits()]);
if (getWidth() > -1)
- target.addAttribute("height", getWidth()
+ target.addAttribute("width", getWidth()
+ UNIT_SYMBOLS[getWidthUnits()]);
}