Hello

I have a pref window opened from a button on Account Settings
\Copies&Folders
Here is the XUL of the prefwindow

prefwindow.dtd">
title="&prefwindow.title" style="height: 300px">
onpaneload="granularitySwitch();">

name="extensions.messagearchiveoptions@eviljeff.com.keep structure"
type="bool"/>
name="extensions.messagearchiveoptions@eviljeff.com.seme sterstring"
type="unichar"/>
name="extensions.messagearchiveoptions@eviljeff.com.quar tertring"
type="unichar"/>
name="extensions.messagearchiveoptions@eviljeff.com.mont hstring"
type="unichar"/>
name="extensions.messagearchiveoptions@eviljeff.com.year string"
type="unichar"/>
name="extensions.messagearchiveoptions@eviljeff.com.gran ularity2"
type="int"/>
name="mail.server.default.archive_granularity" type="int"/>
name="extensions.messagearchiveoptions@eviljeff.com.key. alt"
type="bool"/>
name="extensions.messagearchiveoptions@eviljeff.com.key. shift"
type="bool"/>
name="extensions.messagearchiveoptions@eviljeff.com.key. control"
type="bool"/>







label="&granularity.levelN.label;" oncommand="granularitySwitch();"/>
label="&granularity.levelY.label;" oncommand="granularitySwitch();"/>





My problem is the prefwindow does not fit to content.
I have try with flex, window.sizeToContent(), autosize but nothing
seems to work.

I am a total newbie to this so please be patient if the problem seems
obvious.

Thansk a lot in advance for your help.