Ticket #3713 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

height option for dialog

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

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

comment:1 Changed 5 years ago by scott.gonzalez

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

comment:2 Changed 5 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.