Bug 690526 - Compose window address list won't resize smaller once made bigger; r=standard8, a=standard8
authorJim Porter <squibblyflabbetydoo@gmail.com>
Fri, 07 Oct 2011 20:34:54 -0500
changeset 9270 4cd6e224028d114e80a78c1f01250681b74a2a42
parent 9269 d68a4963ff1a80859cf1d4d61379a659eb936310
child 9271 abce2bd0f3981671449ca45a96925d3795d1ad30
push id230
push userbugzilla@standard8.plus.com
push dateTue, 08 Nov 2011 22:55:24 +0000
treeherdercomm-beta@63dad5648415 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersstandard8, standard8
bugs690526
Bug 690526 - Compose window address list won't resize smaller once made bigger; r=standard8, a=standard8
mail/components/compose/content/messengercompose.xul
--- a/mail/components/compose/content/messengercompose.xul
+++ b/mail/components/compose/content/messengercompose.xul
@@ -792,85 +792,85 @@
                           ondraggesture="nsDragAndDrop.startDrag(event, attachmentBucketDNDObserver);"/>
         </vbox>
       </hbox>
     </toolbar>
   </toolbox>
 
   <splitter id="compose-toolbar-sizer" onmousedown="awSizerListen()"/>
 
-  <!-- These toolbar items get filled out from the editorOverlay -->
-  <toolbox id="FormatToolbox" mode="icons">
-    <toolbar class="chromeclass-toolbar" id="FormatToolbar" persist="collapsed"
-             customizable="true" nowindowdrag="true">
-      <toolbaritem id="paragraph-select-container"/>
-      <toolbaritem id="font-face-select-container"/>
-      <toolbaritem id="color-buttons-container"
-                   disableoncustomize="true"/>
-      <toolbarbutton id="DecreaseFontSizeButton"/>
-      <toolbarbutton id="IncreaseFontSizeButton"/>
-      <toolbarseparator class="toolbarseparator-standard"/>
-      <toolbarbutton id="boldButton"/>
-      <toolbarbutton id="italicButton"/>
-      <toolbarbutton id="underlineButton"/>
-      <toolbarseparator class="toolbarseparator-standard"/>
-      <toolbarbutton id="ulButton"/>
-      <toolbarbutton id="olButton"/>
-      <toolbarbutton id="outdentButton"/>
-      <toolbarbutton id="indentButton"/>
-      <toolbarseparator class="toolbarseparator-standard"/>
-      <toolbarbutton id="AlignPopupButton"/>
-      <toolbarbutton id="InsertPopupButton"/>
-      <toolbarbutton id="smileButtonMenu"
-                     class="formatting-button"
-                     tooltiptext="&SmileButton.tooltip;"
-                     padwithspace="true"
-                     type="menu"
-                     observes="cmd_smiley">
-        <menupopup id="smilyPopup">
-          <menuitem id="smileySmile" class="menuitem-iconic" label="&smiley1Cmd.label;" 
-                    oncommand="doStatefulCommand('cmd_smiley', ':-)'  )"/>
-          <menuitem id="smileyFrown" class="menuitem-iconic" label="&smiley2Cmd.label;"
-                    oncommand="doStatefulCommand('cmd_smiley', ':-('  )"/>
-          <menuitem id="smileyWink" class="menuitem-iconic" label="&smiley3Cmd.label;"
-                    oncommand="doStatefulCommand('cmd_smiley', ';-)'  )"/>
-          <menuitem id="smileyTongue" class="menuitem-iconic" label="&smiley4Cmd.label;"
-                    oncommand="doStatefulCommand('cmd_smiley', ':-P'  )"/>
-          <menuitem id="smileyLaughing" class="menuitem-iconic" label="&smiley5Cmd.label;"
-                    oncommand="doStatefulCommand('cmd_smiley', ':-D'  )"/>
-          <menuitem id="smileyEmbarassed" class="menuitem-iconic" label="&smiley6Cmd.label;"
-                    oncommand="doStatefulCommand('cmd_smiley', ':-['  )"/>
-          <menuitem id="smileyUndecided" class="menuitem-iconic" label="&smiley7Cmd.label;"
-                    oncommand="doStatefulCommand('cmd_smiley', ':-\\' )"/>
-          <menuitem id="smileySurprise" class="menuitem-iconic" label="&smiley8Cmd.label;"
-                    oncommand="doStatefulCommand('cmd_smiley', '=-O' )"/>
-          <menuitem id="smileyKiss" class="menuitem-iconic" label="&smiley9Cmd.label;"
-                    oncommand="doStatefulCommand('cmd_smiley', ':-*' )"/>
-          <menuitem id="smileyYell" class="menuitem-iconic" label="&smiley10Cmd.label;"
-                    oncommand="doStatefulCommand('cmd_smiley', '>:o' )"/>
-          <menuitem id="smileyCool" class="menuitem-iconic" label="&smiley11Cmd.label;"
-                    oncommand="doStatefulCommand('cmd_smiley', '8-)' )"/>
-          <menuitem id="smileyMoney" class="menuitem-iconic" label="&smiley12Cmd.label;"
-                    oncommand="doStatefulCommand('cmd_smiley', ':-$' )"/>
-          <menuitem id="smileyFoot" class="menuitem-iconic" label="&smiley13Cmd.label;"
-                    oncommand="doStatefulCommand('cmd_smiley', ':-!' )"/>
-          <menuitem id="smileyInnocent" class="menuitem-iconic" label="&smiley14Cmd.label;"
-                    oncommand="doStatefulCommand('cmd_smiley', 'O:-)' )"/>
-          <menuitem id="smileyCry" class="menuitem-iconic" label="&smiley15Cmd.label;"
-                    oncommand="doStatefulCommand('cmd_smiley', ':\'(' )"/>
-          <menuitem id="smileySealed" class="menuitem-iconic" label="&smiley16Cmd.label;"
-                    oncommand="doStatefulCommand('cmd_smiley', ':-X' )"/>
-        </menupopup>
-      </toolbarbutton>
-      <spacer flex="1"/>
-    </toolbar>
-  </toolbox>
-
   <!-- The mail message body frame -->
   <vbox id="appcontent" flex="1">
+    <!-- These toolbar items get filled out from the editorOverlay -->
+    <toolbox id="FormatToolbox" mode="icons">
+      <toolbar class="chromeclass-toolbar" id="FormatToolbar" persist="collapsed"
+               customizable="true" nowindowdrag="true">
+        <toolbaritem id="paragraph-select-container"/>
+        <toolbaritem id="font-face-select-container"/>
+        <toolbaritem id="color-buttons-container"
+                     disableoncustomize="true"/>
+        <toolbarbutton id="DecreaseFontSizeButton"/>
+        <toolbarbutton id="IncreaseFontSizeButton"/>
+        <toolbarseparator class="toolbarseparator-standard"/>
+        <toolbarbutton id="boldButton"/>
+        <toolbarbutton id="italicButton"/>
+        <toolbarbutton id="underlineButton"/>
+        <toolbarseparator class="toolbarseparator-standard"/>
+        <toolbarbutton id="ulButton"/>
+        <toolbarbutton id="olButton"/>
+        <toolbarbutton id="outdentButton"/>
+        <toolbarbutton id="indentButton"/>
+        <toolbarseparator class="toolbarseparator-standard"/>
+        <toolbarbutton id="AlignPopupButton"/>
+        <toolbarbutton id="InsertPopupButton"/>
+        <toolbarbutton id="smileButtonMenu"
+                       class="formatting-button"
+                       tooltiptext="&SmileButton.tooltip;"
+                       padwithspace="true"
+                       type="menu"
+                       observes="cmd_smiley">
+          <menupopup id="smilyPopup">
+            <menuitem id="smileySmile" class="menuitem-iconic" label="&smiley1Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', ':-)'  )"/>
+            <menuitem id="smileyFrown" class="menuitem-iconic" label="&smiley2Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', ':-('  )"/>
+            <menuitem id="smileyWink" class="menuitem-iconic" label="&smiley3Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', ';-)'  )"/>
+            <menuitem id="smileyTongue" class="menuitem-iconic" label="&smiley4Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', ':-P'  )"/>
+            <menuitem id="smileyLaughing" class="menuitem-iconic" label="&smiley5Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', ':-D'  )"/>
+            <menuitem id="smileyEmbarassed" class="menuitem-iconic" label="&smiley6Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', ':-['  )"/>
+            <menuitem id="smileyUndecided" class="menuitem-iconic" label="&smiley7Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', ':-\\' )"/>
+            <menuitem id="smileySurprise" class="menuitem-iconic" label="&smiley8Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', '=-O' )"/>
+            <menuitem id="smileyKiss" class="menuitem-iconic" label="&smiley9Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', ':-*' )"/>
+            <menuitem id="smileyYell" class="menuitem-iconic" label="&smiley10Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', '>:o' )"/>
+            <menuitem id="smileyCool" class="menuitem-iconic" label="&smiley11Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', '8-)' )"/>
+            <menuitem id="smileyMoney" class="menuitem-iconic" label="&smiley12Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', ':-$' )"/>
+            <menuitem id="smileyFoot" class="menuitem-iconic" label="&smiley13Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', ':-!' )"/>
+            <menuitem id="smileyInnocent" class="menuitem-iconic" label="&smiley14Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', 'O:-)' )"/>
+            <menuitem id="smileyCry" class="menuitem-iconic" label="&smiley15Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', ':\'(' )"/>
+            <menuitem id="smileySealed" class="menuitem-iconic" label="&smiley16Cmd.label;"
+                      oncommand="doStatefulCommand('cmd_smiley', ':-X' )"/>
+          </menupopup>
+        </toolbarbutton>
+        <spacer flex="1"/>
+      </toolbar>
+    </toolbox>
+
     <editor type="content-primary" id="content-frame" src="about:blank" name="browser.message.body" flex="1"
             context="msgComposeContext"/>
   </vbox>
 
   </vbox>
   </hbox>
   <panel id="customizeToolbarSheetPopup" noautohide="true">
     <iframe id="customizeToolbarSheetIFrame"