diff options
author | michaelvogt <michael@vaadin.com> | 2012-12-01 18:38:05 +0200 |
---|---|---|
committer | michaelvogt <michael@vaadin.com> | 2012-12-01 18:38:05 +0200 |
commit | a0995c46559453850eea694c218faf5d310438ee (patch) | |
tree | 3676187faf5e338ddd057823ab5424b09125504f | |
parent | 84099ee2b8363c12a813157f9752981add5db113 (diff) | |
download | vaadin-framework-a0995c46559453850eea694c218faf5d310438ee.tar.gz vaadin-framework-a0995c46559453850eea694c218faf5d310438ee.zip |
Changed order of the containers in DOM
Added necessary position for right handler
As described in Ticket #9182
Change-Id: I46f2f86ae670e5c923a3cb9a1bc34d16770b4cc4
-rw-r--r-- | client/src/com/vaadin/client/ui/VAbstractSplitPanel.java | 3 |
1 files changed, 2 insertions, 1 deletions
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%"); |