Ticket #3025 (closed feature: fixed)

Opened 6 years ago

Last modified 6 years ago

dialog should have an autoResize option; default value: true

Reported by: rdworth Owned by: rdworth
Priority: major Milestone: 1.5.1
Component: ui.dialog Version: 1.5
Keywords: dialog resize auto autoResize Cc:
Blocking: Blocked by:

Description

Dialog currently has three callbacks that allow for custom handling of resizing:

  • resizeStart
  • resize
  • resizeStop

The most common case for handling these callbacks is to resize the content of the dialog, accounting for the height of the titlebar and any margin the content may have. This should be built into dialog, enabled by default. Proposed option:

autoResize: true

When true, the content of the dialog would auto resize to fill the available space when it's opened and resized.

Change History

comment:1 Changed 6 years ago by rdworth

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

Fixed in [336]

Note: See TracTickets for help on using tickets.