Bug 1590113 - Add flexing to the locationFolders to expand it initially. r+a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Thu, 24 Oct 2019 20:21:03 +0200
changeset 37230 892a6344acd28441c15d183feabe7776b58bd5db
parent 37229 14f12d4f3c1d0a60e9f728617934b91b718b845a
child 37231 f4c0595c8806e7a12e5cc5b767cade0a09d5d1ee
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
bugs1590113
Bug 1590113 - Add flexing to the locationFolders to expand it initially. r+a=jorgk
mail/base/content/mainMailToolbox.inc.xul
mail/themes/windows/mail/mailWindow1.css
--- a/mail/base/content/mainMailToolbox.inc.xul
+++ b/mail/base/content/mainMailToolbox.inc.xul
@@ -339,22 +339,24 @@
     <toolbarbutton id="button-compact" class="toolbarbutton-1"
                    insertafter="button-mark"
                    label="&compactButton.label;"
                    tooltiptext="&compactButton.tooltip;"
                    oncommand="goDoCommand('button_compact');"
                    observes="button_compact"/>
     <toolbaritem id="folder-location-container" insert-after="button-stop"
                  title="&folderLocationToolbarItem.title;"
-                 align="center"
+                 align="center" flex="2"
                  class="chromeclass-toolbar-additional">
       <menulist id="locationFolders"
+                flex="1"
                 class="folderMenuItem"
                 label="&folderLocationToolbarItem.title;"
                 context="folderPaneContext"
+                minwidth="125"
                 maxwidth="300"
                 crop="center">
         <menupopup is="folder-menupopup" id="folderLocationPopup"
                    class="menulist-menupopup"
                    flex="1"
                    mode="notDeferred"
                    showFileHereLabel="true"
                    oncommand="gFolderTreeView.selectFolder(event.target._folder, true);"/>
--- a/mail/themes/windows/mail/mailWindow1.css
+++ b/mail/themes/windows/mail/mailWindow1.css
@@ -537,17 +537,17 @@ treechildren::-moz-tree-row(dummy, selec
     opacity: .6;
   }
 
   .menulist-dropmarker {
     -moz-appearance: none;
     -moz-box-align: center;
     -moz-box-pack: center;
     list-style-image: url("chrome://messenger/skin/icons/toolbarbutton-arrow.svg");
-    -moz-image-region: auto;
+    -moz-image-region: auto !important;
     -moz-context-properties: fill;
     fill: currentColor;
     margin-top: 0;
   }
 
   .menulist-dropmarker::part(icon) {
     width: 9px;
     height: 7px;