Opened 14 years ago

Closed 14 years ago

#4616 closed enhancement (worksforme)

Optional/Customizable Title Bar on Dialog

Reported by: bgoodin Owned by:
Priority: minor Milestone: 1.8
Component: ui.dialog Version: 1.7.2
Keywords: titlebar dialog title Cc:
Blocked by: Blocking:


It would be nice to be able to specify the titlebar as optional on the dialog. I currently set the ui-dialog-titlebar to be display:none when the content is loaded.

It would also be nice to allow for a custom titlebar to be provided. Since the titlebar exists outside of the content that the dialog wraps it would be nice to have the ability to utilize that titlebar space for custom titlebars. In my case I wanted to place a graphic with the title and some subtext beneath it. Currently there doesn't appear to be any simple way to accomplish this.

Change History (2)

comment:1 Changed 14 years ago by Jörn Zaefferer

Milestone: TBD1.8

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

Resolution: worksforme
Status: newclosed

The title option takes any HTML, which actually makes customizing it quite easy. As for hiding the titlbar, I don't think it's a common enough case to warrant an option for considering how easy it is to do (and can already be accomplished using the dialogClass option and some CSS).

Note: See TracTickets for help on using tickets.