Show dialogs/windows as "overlay" (like in options)?

Talk about add-ons and extension development.
Post Reply
User avatar
Vano
Posts: 403
Joined: December 26th, 2007, 8:21 pm

Show dialogs/windows as "overlay" (like in options)?

Post by Vano »

Hello.

I'm trying figure out how options tab shows other dialogs as "overlay" of some sort (visually only, not the traditional xul overlay) instead of popups as separate window. It uses the same .xul files that otherwise would be independent windows, but the style is all different.

For example I'm trying show chrome://global/content/commonDialog.xul inside of my own .xul file

Any suggestions?

Thanks.
Noitidart
Posts: 1168
Joined: September 16th, 2007, 8:01 am

Re: Show dialogs/windows as "overlay" (like in options)?

Post by Noitidart »

User avatar
Vano
Posts: 403
Joined: December 26th, 2007, 8:21 pm

Re: Show dialogs/windows as "overlay" (like in options)?

Post by Vano »

No, I mean browser's options. For example about:preferences#security click on "Saved logins" that opens a .xul that looks like an "overlay" of options page.
lithopsian
Posts: 3664
Joined: September 15th, 2010, 9:03 am

Re: Show dialogs/windows as "overlay" (like in options)?

Post by lithopsian »

It is here, plus appropriate styling, basically just a box with a browser in it:
https://dxr.mozilla.org/mozilla-central ... es.xul#188

Talk about reinventing the wheel!
Post Reply