Opened 13 years ago

Closed 13 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:


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)

trac8206.html (1.9 KB) - added by yherve 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by yherve

Attachment: trac8206.html added

comment:1 Changed 13 years ago by bill

Component: GeneralDijit
Owner: anonymous deleted

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.

comment:2 Changed 13 years ago by bill

Resolution: wontfix
Status: newclosed

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.