Fix initial size (bug 37724) by adding size attributes to window tag. Persist dialog size.

This commit is contained in:
slamm%netscape.com 2006-07-27 14:50:02 +00:00
parent e73ce53fe0
commit 5045f5074b

View File

@ -29,10 +29,13 @@
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="Init();"
id="main-window"
class="color-dialog"
title="&sidebar.customize.title.label;"
windowtype="sidebar:customize"
align="vertical">
align="vertical"
width="450" height="400"
persist="screenX screenY width height">
<script src="chrome://communicator/content/sidebar/customize.js"></script>
@ -128,10 +131,12 @@
</box>
<box id="saveCancelButtons">
<spring flex="1"/>
<button oncommand="Save();" id="save_button" value="&sidebar.customize.save.label;" />
<button oncommand="window.close();" value="&sidebar.customize.cancel.label;" />
<spring flex="1"/>
<spring flex="1"/>
<button oncommand="Save();" id="save_button"
value="&sidebar.customize.save.label;" />
<button oncommand="Cancel();"
value="&sidebar.customize.cancel.label;" />
<spring flex="1"/>
</box>
</window>