Opened 14 years ago

Closed 14 years ago

#3713 closed bug (fixed)

height option for dialog

Reported by: filamentgroup Owned by:
Priority: critical Milestone: 1.7
Component: ui.dialog Version: 1.6rc2
Keywords: Cc:
Blocked by: Blocking:

Description

In general, the dialog seems to open to a set height of ~250px by default which is somewhat unexpected and is too tall for an average confirmation/message but too small for a form. It would be more useful if it auto fit the content length and had a maxHeight default set to something reasonable like 400px so it would fit on an average 1024x768 screen without scrolling. It's a pain/dangerous to have to set an explicit height every time.

This should behave like a normal block element that expands to the content as much as possible. I get worried about setting a fixed pixel height because font sizes and content lengths could very and you really want to avoid scrollbars on dialogs as much as possible.

Change History (2)

comment:1 Changed 14 years ago by Scott González

Would this be satisfied just by defaulting the height option to auto?

comment:2 Changed 14 years ago by Scott González

Resolution: fixed
Status: newclosed

Fixed in r1380. Set default height to auto and default minHeight to 150.

Note: See TracTickets for help on using tickets.