Bug 1586572 - Let the msgTrashFolderPicker menulist flex to show more of the label. r+a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Mon, 07 Oct 2019 10:59:37 +0200
changeset 35911 f1f9af28441770cec04af0abd6dd372e6d45610e
parent 35910 ac231e43c2b59086617111bb05f6c68fa57d0412
child 35912 2303a60c1ca1127a8aa2e20353bb2786821ebd8f
push id40
push usermozilla@jorgk.com
push dateTue, 08 Oct 2019 11:33:39 +0000
treeherdercomm-esr68@2303a60c1ca1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1586572
Bug 1586572 - Let the msgTrashFolderPicker menulist flex to show more of the label. r+a=jorgk
mailnews/base/prefs/content/am-server.xul
--- a/mailnews/base/prefs/content/am-server.xul
+++ b/mailnews/base/prefs/content/am-server.xul
@@ -272,26 +272,28 @@
               <hbox flex="1" align="center">
                 <radio id="modelDeleteImmediately"
                        value="2"
                        label="&modelDeleteImmediately.label;"
                        accesskey="&modelDeleteImmediately.accesskey;"/>
               </hbox>
             </vbox>
             <vbox>
-              <menulist id="msgTrashFolderPicker"
-                        class="folderMenuItem"
-                        maxwidth="300" crop="center"
-                        aria-labelledby="modelMoveToTrash"
-                        displayformat="verbose">
-                <menupopup is="folder-menupopup" id="msgTrashFolderPopup"
-                           mode="filing"
-                           showFileHereLabel="true"
-                           oncommand="folderPickerChange(event);"/>
-              </menulist>
+              <hbox>
+                <menulist id="msgTrashFolderPicker"
+                          class="folderMenuItem"
+                          maxwidth="300" flex="1" crop="center"
+                          aria-labelledby="modelMoveToTrash"
+                          displayformat="verbose">
+                  <menupopup is="folder-menupopup" id="msgTrashFolderPopup"
+                             mode="filing"
+                             showFileHereLabel="true"
+                             oncommand="folderPickerChange(event);"/>
+                </menulist>
+              </hbox>
             </vbox>
           </hbox>
         </radiogroup>
       </hbox>
       <hbox pack="end">
         <!-- This button should have identical attributes to the
              server.popAdvancedButton except the hidefor attribute. -->
         <button label="&advancedButton.label;"