diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-12-05 12:02:13 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2012-12-05 12:02:13 +0000 |
commit | 4b3645977843f83ecb92ce67376a800412c5d7c7 (patch) | |
tree | 8fe58a650aaebe395d909fbf4335123d3e9df6d4 | |
parent | 2007f0d76511dd10125fe1de835437e6e40d126a (diff) | |
parent | a0995c46559453850eea694c218faf5d310438ee (diff) | |
download | vaadin-framework-4b3645977843f83ecb92ce67376a800412c5d7c7.tar.gz vaadin-framework-4b3645977843f83ecb92ce67376a800412c5d7c7.zip |
Merge "Changed order of the containers in DOM Added necessary position for right handler As described in Ticket #9182 "
-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%"); |