Opened 15 years ago

Closed 15 years ago

#2329 closed enhancement (wontfix)

Floating Pane Flexibility Need

Reported by: [email protected] Owned by: bill
Priority: high Milestone:
Component: Widgets Version: 0.4.1
Keywords: Cc:
Blocked By: Blocking:



I think there is space for flexibility of the floating pane widget. Code states a property named contrainToContainer. This keeps pane inside the container. Here is:

this.drag = new dojo.dnd.HtmlDragMoveSource?(this.domNode);

if (this.constrainToContainer) { this.drag.constrainTo(); }

I'll be very glad if we can specify which domNode that this floating pane is contraint to.

Change History (1)

comment:1 Changed 15 years ago by bill

Resolution: wontfix
Status: newclosed

The floating pane is constrained to it's nearest ancestor dom node with position:relative or position:absolute). For example:

<div style="position: absolute; top: 100px; left: 100px;">  <-- container
  <div dojoType=FloatingPane style="height: 100px; width: 100px"></div>
Note: See TracTickets for help on using tickets.