Opened 11 years ago
Closed 11 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: |
Description
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)
Change History (2)
Changed 11 years ago by
Attachment: | test_BorderContainer_TabContainer.html added |
---|
comment:1 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.