Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#3623 closed defect (fixed)

SplitContainer: extra slider/handle appears

Reported by: bill Owned by: Adam Peller
Priority: high Milestone: 0.9
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

In http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/layout/test_LayoutCode.html (tested on FF2/Mac), click "Split Layout" button and then notice (and fix) the strange short lines:

  • short vertical line at beginning of text string "left pane of split container"
  • short horizontal line at beginning of text string "center-top pane of nested split container"

Change History (5)

comment:1 Changed 12 years ago by guest

May be related to this:

The call: <code> widget.addChild(createWidgetHierarchy(child)); </code> fails if called before <code> widget.startup(); </code>

Calling widget.startup just after widget creation seems to work <code> var widget = new dijit.layout[widgetJson.widgetType](widgetJson.params, node); widget.startup(); TODO: this is required now, right? </code>

comment:2 Changed 12 years ago by bill

Milestone: 0.91.0

comment:3 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

(In [10246]) Fixes #3623: SplitContainer?: extra slider/handle appears.

If addChild() is called before startup() then it shouldn't do much of anything, because startup() is going to go through every child widget. In this case, we were getting too many splitters (we were getting (n-1)*2 rather than n-1).

comment:4 Changed 12 years ago by bill

Milestone: 1.00.9

comment:5 Changed 9 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.