Hi,

Thanks for your answer, it seems the dialog height works with 'auto'
height value.
If I get it right, the specified height in absolute units (pixels)
means if the loaded element (via Ajax) is higher then dialog window,
there are the scroolbars. When the height is not specified, the dialog
height is changed automatically ?

Thanks.


On 1 srp, 12:48, Scott González <[email protected]> wrote:
> The original element should change height with the generated wrapper
> automatically.  Which version of jQuery UI are you using, which
> browser, and what doctype?  Also, you can set the height to 'auto' to
> have it adjust as content changes.
>
> On Jul 31, 4:43 am, Daniel <[email protected]> wrote:
>
> > Hi, I have an instance of dialog opened (with 300px width for
> > example). When I load (and inject) some ajax HTML code which is longer
> > then dialog window, there is a scrollbar at right (I get it).
>
> > Is there some a way how to resize the dialog window automatically (and
> > prevent the scrollbars)?
>
> > Just note. If I write event like:
> > $('#element').dialog('option', 'height', 500);
>
> > the dialog height is changed (DIV element with "ui-dialog" class) but
> > the inner "#element" - doesn't.
>
> > Thanks for any help.
> > Daniel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to