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.
Show dialogs/windows as "overlay" (like in options)?
- Vano
- Posts: 403
- Joined: December 26th, 2007, 8:21 pm
-
- Posts: 1168
- Joined: September 16th, 2007, 8:01 am
Re: Show dialogs/windows as "overlay" (like in options)?
Do you mean inline options? https://developer.mozilla.org/en-US/Add ... ne_Options
- Vano
- Posts: 403
- Joined: December 26th, 2007, 8:21 pm
Re: Show dialogs/windows as "overlay" (like in options)?
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.
-
- Posts: 3664
- Joined: September 15th, 2010, 9:03 am
Re: Show dialogs/windows as "overlay" (like in options)?
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!
https://dxr.mozilla.org/mozilla-central ... es.xul#188
Talk about reinventing the wheel!