Ticket #6678 (closed defect: duplicate)
[cla] [patch] TabContainer: more than 1 childNode in ContentPane fails resize() / startup of child widgets
| Reported by: | guest | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Dijit | Version: | 1.1.0 |
| Severity: | normal | Keywords: | ContentPane.js |
| Cc: | alex |
Description
The probleem arrissed when putting an AccordionContainer? inside an contentpane. Because of the other HTML around the AccordionContainer? the ContentPane? assumed it was no SingleWidget? (which is correct, because of the html nodes) but also he was not the parent( IsContainer?=false) which isn't correct, cause it has to startup the childwidget(s) when the tab becomes visible.
1) So I patched the ContentPane? that when there is 1 or more childwidgets, it still acts as parent(isContainer=true) which prevents startup of contentPane ChildWidgets? after creation (getParent results to true).
2) If contentPane contains more than 1 childNode, it will not act as it does for singlechild (cause this assumes that all contentBox space can be used for the widget). But fires the the childwidget startup / resize code without providing a boxsize as argument.