Ticket #6361 (closed defect: invalid)

Opened 8 months ago

Last modified 7 months ago

SplitContainer->BorderContainer: overlap bug?

Reported by: haysmark Owned by: peller
Priority: normal Milestone: 1.1
Component: Dijit Version: 1.1.0
Severity: normal Keywords:
Cc:

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:

BorderContainer created from old SplitContainer

Is this really the intended behavior?

Attachments

bordercontainer1.JPG (8.5 kB) - added by haysmark 8 months ago.
BorderContainer? created from old SplitContainer?

Change History

Changed 8 months ago by haysmark

Changed 8 months ago by peller

  • status changed from new to closed
  • resolution set to invalid

BorderContainer? MUST have a center region. I will update the docs to reflect this.

Changed 7 months ago by peller

  • milestone changed from 1.1.1 to 1.1
Note: See TracTickets for help on using tickets.