Bug 1509984 - Use flexing in preferences paneSelector to show all elements for locales that use longer labels. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Mon, 26 Nov 2018 20:58:57 +0100
changeset 33783 dc1a79bbdc62703240d0a8b0533e8557989bfd40
parent 33782 eb66bb3b1b7600ad93ea6664c13964fc7d9bba50
child 33784 69c428e7b3173330e73549004f72ec00b49fd476
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewersjorgk
bugs1509984
Bug 1509984 - Use flexing in preferences paneSelector to show all elements for locales that use longer labels. r=jorgk
mail/components/preferences/aboutPreferences.xml
--- a/mail/components/preferences/aboutPreferences.xml
+++ b/mail/components/preferences/aboutPreferences.xml
@@ -21,17 +21,17 @@
     <content dlgbuttons="accept,cancel" persist="lastSelected"
              closebuttonlabel="&preferencesCloseButton.label;"
              closebuttonaccesskey="&preferencesCloseButton.accesskey;"
              role="dialog">
       <xul:stack flex="1">
         <xul:hbox id="prefBox" flex="1">
           <xul:vbox id="pref-category-box">
             <xul:radiogroup anonid="selector" orient="vertical" class="paneSelector chromeclass-toolbar"
-                            role="listbox"/> <!-- Expose to accessibility APIs as a listbox -->
+                            role="listbox" flex="1"/> <!-- Expose to accessibility APIs as a listbox -->
             <xul:spacer flex="1"/>
             <xul:hbox class="sidebar-footer-button"
                       pack="center"
                       onclick="window.docShell.rootTreeItem.domWindow.openAddonsMgr();">
             <xul:label id="addonsButton" class="text-link">
               <xul:hbox align="center">
                 <xul:image class="sidebar-footer-icon addons-icon"/>
                 <xul:label class="sidebar-footer-label" flex="1">&addonsButton.label;</xul:label>