Go to Google Groups Home    jQuery UI
Re: [jquery-ui] ui.dialog resizable

Richard D. Worth <rdwo...@gmail.com>

The handles are added so that at any point you can make the dialog resizable
by this call:

$("#myDiv").data("resizable.dialog", true);

As far as changing the cursor, or hiding the handles, either of these can be
accomplished with css. The dialog has the class

ui-dialog

and the resize handles have the class

ui-resizable-handle

Finally, when resizing on the dialog is disabled, the dialog (ui-dialog)
will also have the class

ui-resizable-disabled

If the cursor isn't changing for you currently, it could be a theme bug. If
that's the case, please let us know which theme, so we can update it.
Thanks.

- Richard

On Wed, Jul 16, 2008 at 4:39 PM, Nick <nickelsbe...@gmail.com> wrote:

> I am having trouble with the dialog plugin. I have set resizable:
> false when I setup the new dialog but the resize handles are still
> added to the dialog. They are disabled so I cannot resize them but
> they still show the cursor and give the appearance that it should be
> resizable. Is this the intended behavior? I was expecting to not have
> any resize handles if i set resizable to false.

> Thanks!
> Nick