Skip to main content

Search and Top Navigation

#15246 new feature ()

Opened October 19, 2017 04:57PM UTC

Last modified October 19, 2017 05:01PM UTC

UI Dialog - option to add icon-buttons in the titlebar.

Reported by: Berserker66 Owned by:
Priority: minor Milestone: none
Component: ui.dialog Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Something that quite a few users seem to have a use for is the ability to add more icons, styled like the close button into the title bar of the ui dialog.

Some examples from stackoverflow:

There's plenty more, but these will suffice to make my point: All these solutions look bad. The added icon(s) look nothing like the close button, especially once you try to use jquery themes and/or icons.

The request is the following; similar to the buttons [] option, add a title-buttons[] option, with the close button in it as default. The array can be set to an empty array to remove the close button, a functionality that already exists, or more buttons can be added, by adding in a [iconname, function] pair.

Attachments (0)
Change History (1)

Changed October 19, 2017 05:01PM UTC by Berserker66 comment:1

Just found this request:

seems there might be a chance to merge the two into one functionality.