The window's hardcoding sets it to resize to the size that the window WOULD be if the slots had the default size and layout.
You can get around this by setting all the slots to visible=false and using OnShow scripts to resize the window to the correct size.
Talyns explains how here:
http://www.eq2interface.com/forums/s...=5660#post5660