Opened 15 years ago

Closed 15 years ago

#3025 closed feature (fixed)

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:
Blocked by: Blocking:


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 (1)

comment:1 Changed 15 years ago by rdworth

Resolution: fixed
Status: newclosed

Fixed in [336]

Note: See TracTickets for help on using tickets.