Floating Pane

664
1
06-27-2012 09:06 AM
demdeberanz
New Contributor II
Hi everybody,
   I'm using a floating pane inside the map area, I'm not able to constrain its movements in this area. For instance it can be moved mistakenly outside the map area
and user can't no longer use it because it's hided.

How can I bound the floating pane movements?

Thank you very much.
0 Kudos
1 Reply
HemingZhu
Occasional Contributor III
Hi everybody,
   I'm using a floating pane inside the map area, I'm not able to constrain its movements in this area. For instance it can be moved mistakenly outside the map area
and user can't no longer use it because it's hided.

How can I bound the floating pane movements?

Thank you very much.


I think the movement of a floating pane is bound to it direct parent. Outside the direct parent is automatically hided unless you define the floating pane's moveable property. Here is an example: http://jsfiddle.net/phusick/3vTXW/
0 Kudos