From a0995c46559453850eea694c218faf5d310438ee Mon Sep 17 00:00:00 2001 From: michaelvogt Date: Sat, 1 Dec 2012 18:38:05 +0200 Subject: Changed order of the containers in DOM Added necessary position for right handler As described in Ticket #9182 Change-Id: I46f2f86ae670e5c923a3cb9a1bc34d16770b4cc4 --- client/src/com/vaadin/client/ui/VAbstractSplitPanel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/com/vaadin/client/ui/VAbstractSplitPanel.java b/client/src/com/vaadin/client/ui/VAbstractSplitPanel.java index 9b1143ea46..90f3e49ffb 100644 --- a/client/src/com/vaadin/client/ui/VAbstractSplitPanel.java +++ b/client/src/com/vaadin/client/ui/VAbstractSplitPanel.java @@ -185,9 +185,9 @@ public class VAbstractSplitPanel extends ComplexPanel { DOM.setStyleAttribute(wrapper, "width", "100%"); DOM.setStyleAttribute(wrapper, "height", "100%"); - DOM.appendChild(wrapper, secondContainer); DOM.appendChild(wrapper, firstContainer); DOM.appendChild(wrapper, splitter); + DOM.appendChild(wrapper, secondContainer); DOM.setStyleAttribute(splitter, "position", "absolute"); DOM.setStyleAttribute(secondContainer, "position", "absolute"); @@ -201,6 +201,7 @@ public class VAbstractSplitPanel extends ComplexPanel { DOM.setStyleAttribute(splitter, "height", "100%"); DOM.setStyleAttribute(splitter, "top", "0"); DOM.setStyleAttribute(firstContainer, "height", "100%"); + DOM.setStyleAttribute(secondContainer, "top", "0"); DOM.setStyleAttribute(secondContainer, "height", "100%"); } else { DOM.setStyleAttribute(splitter, "width", "100%"); -- cgit v1.2.3