Opened 12 years ago

Closed 12 years ago

#10293 closed defect (invalid)

TabContainer inside BorderContainer doesn't show with doLayout=true

Reported by: Mathevet julien Owned by:
Priority: high Milestone: tbd
Component: Dijit Version: 1.4.0b
Keywords: Cc:
Blocked By: Blocking:


In the example there are 2 TabContainer, one with doLayout=true and another one with false. First one isn't visible and hasn't any size.

Attachments (1)

test_BorderContainer_TabContainer.html (2.5 KB) - added by Mathevet julien 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by Mathevet julien

comment:1 Changed 12 years ago by bill

Resolution: invalid
Status: newclosed

Looks like you are confused about how BorderContainer works. The top/bottom/left/right panes all have a predefined size, and then it's BorderContainer's job to size the center pane to fit the remaining space.

Thus, you need to specify a size on the bottom TabContainers with doLayout=true. And also, your center TabContainer should have doLayout=true also, since BorderContainer will try to size it. Finally, since BorderContainer always (minimally) requires a center pane, I'm not sure that you can initialize the BorderContainer w/out a center pane and then add it later.

Note: See TracTickets for help on using tickets.