summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2008-10-01 11:19:06 +0000
committerArtur Signell <artur.signell@itmill.com>2008-10-01 11:19:06 +0000
commit2f4f0186a8b5feb4ad3f8bc7bb24c3e8e4d5b3f9 (patch)
tree9a3882ac63938957dd5dac939074303cb4fff461 /src
parent5e882603dead994c46f940338d9dc11379b104c8 (diff)
downloadvaadin-framework-2f4f0186a8b5feb4ad3f8bc7bb24c3e8e4d5b3f9.tar.gz
vaadin-framework-2f4f0186a8b5feb4ad3f8bc7bb24c3e8e4d5b3f9.zip
Fixed splitPanel allocated space calculation
svn changeset:5574/svn branch:trunk
Diffstat (limited to 'src')
-rw-r--r--src/com/itmill/toolkit/terminal/gwt/client/ui/ISplitPanel.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/ISplitPanel.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/ISplitPanel.java
index 4c42222c4b..fb279b48ab 100644
--- a/src/com/itmill/toolkit/terminal/gwt/client/ui/ISplitPanel.java
+++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/ISplitPanel.java
@@ -252,7 +252,7 @@ public class ISplitPanel extends ComplexPanel implements Container,
int contentHeight = renderInformationFirst.getRenderedSize()
.getHeight();
renderInformationFirst.setContentAreaHeight(contentHeight);
- renderInformationFirst.setContentAreaWidth(getSplitterSize());
+ renderInformationFirst.setContentAreaWidth(pixelPosition);
renderInformationSecond.setContentAreaHeight(contentHeight);
renderInformationSecond.setContentAreaWidth(secondContainerWidth);
@@ -285,7 +285,7 @@ public class ISplitPanel extends ComplexPanel implements Container,
int contentWidth = renderInformationFirst.getRenderedSize()
.getWidth();
- renderInformationFirst.setContentAreaHeight(getSplitterSize());
+ renderInformationFirst.setContentAreaHeight(pixelPosition);
renderInformationFirst.setContentAreaWidth(contentWidth);
renderInformationSecond.setContentAreaHeight(secondContainerHeight);
renderInformationSecond.setContentAreaWidth(contentWidth);