Resizable function in ui.dialog
I know there's been a couple of discussions on the resizable
functionality within ui.dialog, but here's my two pennies...
It would be useful to completely skip the resizable functionality if
in the dialog settings, resizable is set to false.
The reason being that if I use dialog's inbuilt resizable
functionality, it makes altering it using the standard ui.resizable
function difficult / unpredictable.
For instance, I've tried working around this, like so...
$(obj).dialog({resizable:true});
$(obj).parents('.ui-dialog').eq(0).resizable({autohide:true});
And this seems to work great... however... if I change the second line
to amend the handles used, say
$(obj).parents('.ui-dialog').eq(0).resizable({autohide:true,
handles:"se"});
That seems to switch off the 'se' handle, rather than what I'd expect
(which is that it has only an 'se' handle)
Likewise, if I change the same line to...
$(obj).parents('.ui-dialog').eq(0).resizable({knobHandles:true});
Sadly, no knobHandles :(
Of course, I could be misunderstanding the way this is working - any
ideas anyone?