#4935 closed defect (invalid)
LayoutContainer inside a tab container tab - only works in first tab.
Reported by: | guest | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Dijit | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
If you put a layout container inside a tab, it will only work in the first tab. Any other tabs with a layout container will display as blank.
This behavior is the same in IE7 and FF2.0.0.8.
Attachments (4)
Change History (8)
comment:1 Changed 15 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Thank you for looking into this ticket.
However, while the test referenced above (test_TabContainer.html) has a nested tab cotainer and a remotly nested split container, it does not contain a nested layoutContainer.
I have recreated this problem in the attached .htm file. Also, I have included screenshots of the rendering of the attached test.
I am sorry for the lack of detail when opening this ticket.
Thank you!
comment:3 follow-up: 4 Changed 15 years ago by
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Looks like an issue with the test:
- need
html, body { height: 100%, width: 100% }
as a CSS rule - whenever you have a ContentPane? that contains a LayoutContainer?, TabContainer?, etc., just get rid of the ContentPane?. A TabContainer? can be a direct child of a LayoutContaienr?. Actually the intermediate ContentPane? will work with the latest build but isn't recommended, and adds no value.
Try that and see if it fixes your problem.
comment:4 Changed 15 years ago by
Replying to bill:
Looks like an issue with the test:
- need
html, body { height: 100%, width: 100% }
as a CSS rule- whenever you have a ContentPane? that contains a LayoutContainer?, TabContainer?, etc., just get rid of the ContentPane?. A TabContainer? can be a direct child of a LayoutContaienr?. Actually the intermediate ContentPane? will work with the latest build but isn't recommended, and adds no value.
Try that and see if it fixes your problem.
I see...I removed the tab contentpanes and made the inner layout containers direct children of the tab container and this fixed the problem.
Thank you and sorry, I was sure this was a bug.
Dan
This works, see the top of test_TabContainer.html which has a TabContainer? and a SplitContainer? inside a TabContainer?, neither of which is the selected tab.