From: Artur Signell Date: Wed, 1 Oct 2008 11:19:06 +0000 (+0000) Subject: Fixed splitPanel allocated space calculation X-Git-Tag: 6.7.0.beta1~4043 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2f4f0186a8b5feb4ad3f8bc7bb24c3e8e4d5b3f9;p=vaadin-framework.git Fixed splitPanel allocated space calculation svn changeset:5574/svn branch:trunk --- 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);