When i set the auto height it does not work... dialog-main keeps a height of 169px

Comments

gorgo’s picture

Doesn't work for me either....

sitiveni’s picture

I've set the height to auto in the settings and override the width with $form_state['args'] (see patch at http://drupal.org/node/799040#comment-3668286). This works fine for the width, the height (which is supposed to be auto) keeps the size of the largest/highest dialog window.

I came across this when using the user login forms: I'm having an extended registration form (way bigger than the default form and the login form) and every time I open the login form for the first time, it appears as it should. However, when opening/switching to the registration form and then coming back to the login form, the height of the login form remains on the size of the register form (same is for the waiting window).

When setting the height for the login form as a fixed value in the form_state options, the form appears as defined (not the loading though). I'm very fond of the auto though, as it allows me to display form errors without manually resizing the form.

Any ideas?

devin carlson’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Dialog 6.x is no longer supported.