#6777 closed defect (fixed)
BorderContainer programmatic wrong splitters
Reported by: | Owned by: | Adam Peller | |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | Dijit | Version: | 1.1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I think that there is a bug in the way BorderContainer? manage splitters. The problem happens when you create BorderContainer? programmatically and you call the startup method AFTER the creation of the children. In this case if one pane has a splitter you get 2 splitters and in the wrong place.
I attach a test that shows the problem. It must be placed in the same folder of other BordrContainer? test.
In the test you can see the wrong behaviour when the 'doPatch' variable is false.
Then I found a patch that seems able to fix the problem and you should be able to see that it works setting doPatch to true.
Please let me know if the bug is confirmed and if my patch is ok. I really have to use BorderContainer? and this bug is a show stopper for me.
Thank you
Giovanni Porcari
Attachments (1)
Change History (5)
Changed 13 years ago by
Attachment: | test_BorderContainer_progr.html added |
---|
comment:1 Changed 13 years ago by
Owner: | set to Adam Peller |
---|---|
Reporter: | changed from guest to [email protected]… |
comment:2 Changed 13 years ago by
Milestone: | → 1.2 |
---|
comment:3 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks for the test file, they are always appreciated.