Hey all I've run into a bit of trouble.

I have a dialog with a button. When the user hits the button I want
the dialog to append textboxes with some info in them. The number of
boxes depends on an array I can get.

Now my problem is when I add the textboxes, the dialog doesn't resize,
so that things get cut off.
On top of that the textbox I can see doesn't have the value I assigned
it (it's blank).
Any idea why this is happening?

Help would be greatly appreciated, I'm not fluent in extension dev but
I'm trying to maintain this for ppl interested:
https://addons.mozilla.org/en-US/thunderbird/addon/7125

Thanks!!

Dialog:

xmlns="http://www.mozilla.org/keymaster/gatekeeper/
there.is.only.xul"
id="rtmprov_options"
title="RTM Provider Options"
onload="window.RTMProv.initOptions()"
ondialogaccept="window.RTMProv.applyOptions()"
>