Login Register

Resize Handle

Is there any way to have dojox.layout.ResizeHandle work with dojo.Dialog?

its possible. but why not

its possible. but why not use a floating pane? you need the underlay?

Yes, they like the look of

Yes, they like the look of the underlay to visually enforce the modal-ness.

okay. so i've not tried it

okay. so i've not tried it myself, but in theory you should be able to add a resizeHandle as part of the content, and position it like the examples in the ResizeHandle tests. ymmv though. It was written specifically for FloatingPane, and works really well with "just div's", but i've not explored making it work with dijits really (but this is the reason the code is there to be able to attach to a widgetId or a node ref) ...

it might be interesting to enhance FLoatingPane with a .modal() method or something, which will toggle an underlay beneath the pane selected. (it'd have to go between pane.zIndex-1 and shift all the other panes down one more). Actually, I kind of like that idea. Very Mac-ish. It would solve that issue, and make FLoatingPane able to behave like an "enhanced" dijit.Dialog as well as a web-OS component.

what do you think?