Hi for all,

well, I found a little bug in ui-dialog.

I have changed the css code to make the ui-dialog-content with scroll
bars.
When I inserts a button panel on this dialog, the panel overwrite the
ui-dialog-content.

For solve this, I changed the ui.dialog.js and insert a simple
verification on code to calculate the ui-dialog-content height.

I changed the line 393 (v. 1.6rc2):

  content.height(container.height() - titlebar.outerHeight() -
tbMargin);

to:

  content.height(container.height() - titlebar.outerHeight() -
this.uiDialogButtonPane.height() - tbMargin);

Now the ui-dialog-buttonpane don't overwrite the content and the
scroll bar works properly.

I didn't find the bug report system or it was not working
http://ui.jquery.com/bugs => Error 404

thanks

--~--~---------~--~----~------------~-------~--~----~
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