#6361 closed defect (invalid)
SplitContainer->BorderContainer: overlap bug?
Reported by: | haysmark | Owned by: | Adam Peller |
---|---|---|---|
Priority: | high | Milestone: | 1.1 |
Component: | Dijit | Version: | 1.1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I am converting a SplitContainer? to a BorderContainer?. The SplitContainer? I am referring to is the second one, to the right, on this page: http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/layout/test_SplitContainer.html
Its code looks like this:
<div dojoType="dijit.layout.SplitContainer" orientation="horizontal" sizerWidth="7" activeSizing="true" style="border: 1px solid #bfbfbf; float: left; width: 400px; height: 300px;"> <div dojoType="dijit.layout.ContentPane" sizeMin="20" sizeShare="20"> this box has two horizontal panes </div> <div dojoType="dijit.layout.ContentPane" sizeMin="50" sizeShare="50"> with active resizing, a smaller sizer, different starting sizes and minimum sizes </div> </div>
I followed the release note guidelines for converting SplitContainers? to BorderContainers? and got this:
<div dojoType="dijit.layout.BorderContainer" liveSplitters="true" style="border: 1px solid #bfbfbf; float: left; width: 400px; height: 300px;"> <div dojoType="dijit.layout.ContentPane" region="leading" minSize="20" splitter="true"> this box has two horizontal panes </div> <div dojoType="dijit.layout.ContentPane" region="trailing" minSize="50"> with active resizing, a smaller sizer, different starting sizes and minimum sizes </div> </div>
However, this conversion produced some messy results:
Is this really the intended behavior?
Attachments (1)
Change History (3)
Changed 13 years ago by
Attachment: | bordercontainer1.JPG added |
---|
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
BorderContainer? MUST have a center region. I will update the docs to reflect this.
comment:2 Changed 13 years ago by
Milestone: | 1.1.1 → 1.1 |
---|
Note: See
TracTickets for help on using
tickets.
BorderContainer? created from old SplitContainer?