Opened 11 years ago
Closed 11 years ago
#8206 closed defect (wontfix)
custom widget splitter + layout problems
Reported by: | yherve | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Dijit | Version: | 1.2.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Hello dojo team,
pb reproduced on nightly build (12/02)
The attached example has a content pane and a custom widget inside (made of a border container and two content panes with a splitter).
on FF3: If the custom widget is created statically, it is fine. If the custom widget is dynamically there are several problems:
- the outside gutters are missing
- the splitter is not at the correct place
when you resize the browser, the splitter moves to the correct place, but the outside gutters are still missing.
on webkit:
- same problems, but the splitter is initially a couple of pixels below the expected position in the static scenario
on opera 9.6
- same problems as FF3, but the mouse pointer is not updated when you move over the splitter
Attachments (1)
Change History (3)
Changed 11 years ago by
Attachment: | trac8206.html added |
---|
comment:1 Changed 11 years ago by
Component: | General → Dijit |
---|---|
Owner: | anonymous deleted |
comment:2 Changed 11 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
I'm going to close this ticket. widgetsInTemplate isn't meant to support layout widgets, so you will have to hack it to work in your case.
Note: See
TracTickets for help on using
tickets.
I don't see how this could possibly work... widgetsInTemplate isn't setup to contain layout widgets. Specifically, in this case, BorderContainer.startup() will never be called. You might try to do that manually (from myWidget.startup() to see if that helps.