Opened 13 years ago
Closed 12 years ago
#6862 closed defect (worksforme)
BorderContainer addChild bug
Reported by: | guest | Owned by: | Adam Peller |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | Dijit | Version: | 1.1.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
After recent changes in BorderContainer? a bug still remain adding a child with a splitter programmatically when the BorderContainer? is already started. You can see it in the attached test.
I changed addChild to fix it.
Giovanni Porcari (AKA genro)
addChild: function(/*Widget*/ child, /*Integer?*/ insertIndex){ this.inherited(arguments); this._setupChild(child); if(this._started){ var region = child.region; if(this._splitters[region]){ dojo.place(this._splitters[region], child.domNode, "after"); this._computeSplitterThickness(region); } this._layoutChildren(); } },
Attachments (1)
Change History (5)
Changed 13 years ago by
Attachment: | test_BorderContainer_prog.html added |
---|
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Owner: | set to Adam Peller |
---|
comment:3 Changed 13 years ago by
Milestone: | → 1.2 |
---|
comment:4 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
lots happened in the last 3 months, seems to work now (though you don't say exactly what the bug is, so I cannot be sure) Please reopen if anything is still wrong. Thanks.
Note: See
TracTickets for help on using
tickets.
"Recent changes" presumably refers to #6777.