We can add support for height: 'auto' (I have this locally and am just waiting to get in touch with some other team members about this). It's worth mentioning that auto-resizing will only happen if the user has not resized the dialog manually. If the user has resized the dialog, we should not be overriding their decision when the content changes.
As for automatically repositioning the dialog when the content changes is not only tricky, but can be a bad user experience. In order to even be able to do this, we'd need to build livequery support into UI so that we can react to DOM changes. Also, for the same reason that we shouldn't resize a dialog that the user has resized, we shouldn't reposition a dialog that the user has dragged. I've attached a patch to ticket #3145 ( http://ui.jquery.com/bugs/ticket/3145 ). I'd appreciate any feedback you have about the patch. Also, if you have other thoughts on this, we'd love to hear them. On Dec 19, 1:53 pm, Joshua Langner <joshua.lang...@gmail.com> wrote: > +++++++++++1 for getting this feature in and done right! Highly > important. > > Not nearly as concerned about auto resizing width as height. When the > height of the modal's contents change, the height of the modal should > change to match, and the modal should also reposition itself to > recenter vertically. > > Let me know if I can help. > > Josh > > On Dec 19, 8:04 am, "Richard D. Worth" <rdwo...@gmail.com> wrote: > > > We're updating dialog to remove the need for the autoResize option. The > > content of the dialog will always fill the dialog size by default. It's > > already been started in svn and will be in the 1.6rc3 release due out on > > Monday. > > > - Richard > > > On Fri, Dec 19, 2008 at 7:49 AM, Stefan Sturm <stefan.s.st...@googlemail.com > > > > wrote: > > > > Hello, > > > > for me the autoResize function is not working :-(. > > > Is there still a bug, or what do I need to set, to get it working. > > > > Greetings, > > > Stefan Sturm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegroups.com To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---