IIRC
the close/minimize button is related to how you launch the window.
currently i have
oncommand="window.openDialog('chrome://signature/content/options/options.xul','','chrome,dialog=no,resizable,modal,all,dependent,centerscreen');"/>
though i haven't tested this on windows (i only have a mac since my
windows box blew up). Sorry I didn't get round to replying sooner.
michael
On 18/01/07, Renato R. (RRaver) <[EMAIL PROTECTED]> wrote:
>
> Hi all!
> Recently I rewrote some of my extensions from scratch and everthing worked
> OK on Fx2 + Windows XP and Fx2 + Ubuntu 6.10, but one of the users reported
> me a lot of problems in MacOS X 10.4.8 + Fx 1.5.0.8, specially in the
> Preference window sizing and behaviour. Below some screenshots posted by the
> user.
>
> The "Close Window" widget is disabled. Notice that the Minimize widget is
> enabled (the middle circle with the "-"):
> http://homepage.mac.com/justified_type/discogsdotcom/dtr/no_close_widget.png
>
> Clicking the "About" results in a very tall window:
> http://homepage.mac.com/justified_type/discogsdotcom/dtr/tall_about.png
>
> After the very tall "About" pane is clicked, the other panes are cut short:
> http://homepage.mac.com/justified_type/discogsdotcom/dtr/tabs_cut_off.png
> http://homepage.mac.com/justified_type/discogsdotcom/dtr/general_cut_off.png
>
> Very tall toolbar:
> http://homepage.mac.com/justified_type/discogsdotcom/dtr/tall_toolbar.png
>
> Other problem that I've stated is that the prefWindow don't resize
> automatically to fit it's content, so I used CSS heigth and width
> properties, but even this properties was ignored in OS X. Is possible to
> auto resize the prefWindow?
>
> Another user discovered that the "Very tall toolbar" apparently is caused
> by the splitter at the end of the toolbar and another reported that this
> splitter is very low in Mozilla Suite and Seamonkey.
>
> I really don't know where is the problem. Have I missed some overlay
> declaration? don't included some CSS? don't assigned some class? I'm
> planning to update all of my extensions to use this codebase, but I must
> ensure that it works on every platform.
>
> The prefWindow structure is more or less as below
>
> <?xml version="1.0"?>
> <?xml-stylesheet href="chrome://global/skin/global.css"?>
> <?xml-stylesheet
> href="chrome://discogsbar/skin/discogsbar.css"
> type="text/css"?>
>
> <!DOCTYPE prefwindow SYSTEM
> "chrome://discogsbar/locale/discogsbar.dtd">
>
> <prefwindow
> onload="sizeToContent();"
> id="discogsbar-preferences"
> windowtype="discogsbar-preferences"
>
> xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
>
> <prefpane id="dtb_paneGeneral"
> label="&dtb.opt.general.paneTitle;"
> src="chrome://discogsbar/content/paneGeneral.xul" />
> <prefpane id="dtb_paneTabs"
> label="&dtb.opt.tabs.paneTitle;"
> src="chrome://discogsbar/content/paneTabs.xul"/>
>
> <prefpane id="dtb_paneAbout"
> label="&dtb.opt.about.paneTitle;" flex="1">
> <iframe id="dtb_paneAbout_iframe"
> src="chrome://discogsbar/content/paneAbout.xul" flex="1"/>
> </prefpane>
>
> </prefwindow>
>
> and CSS looks like this
>
> #discogsbar-preferences {
> height: 23em;
> width: 28em;
> }
>
> The mentioned extension can be found in
> http://www.renatorodrigues.com/files/discogsbar.xpi
> Someone can help me?
>
> Thanks a lot for the attention
>
> --
> Renato Rodrigues (RRaver)
> http://www.renatorodrigues.com
>
> _______________________________________________
> Project_owners mailing list
> [email protected]
> http://mozdev.org/mailman/listinfo/project_owners
>
>
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners