Bug 1645858 - Regroup the buttons to fit better with locales with long strings. r=aleca a=wsmwk
authorRichard Marti <richard.marti@gmail.com>
Fri, 19 Jun 2020 20:33:17 +0200
changeset 39435 84b5051a27d33b2d80c0615c62d5e271584a77d6
parent 39434 5ffca592c43f7c9a618db6e3ee9ad9b0431949c9
child 39436 f001e566656e87a650c6122fe2d838b76701d832
push id402
push userclokep@gmail.com
push dateMon, 29 Jun 2020 20:48:04 +0000
reviewersaleca, wsmwk
bugs1645858
Bug 1645858 - Regroup the buttons to fit better with locales with long strings. r=aleca a=wsmwk
common/src/customizeToolbar.xhtml
--- a/common/src/customizeToolbar.xhtml
+++ b/common/src/customizeToolbar.xhtml
@@ -93,18 +93,18 @@
         <menuitem id="modeicons" value="icons" label="&icons.label;"/>
         <menuitem id="modetext" value="text" label="&text.label;"/>
 #ifndef MOZ_SUITE
         <menuitem id="textbesideiconItem" value="textbesideicon" label="&iconsBesideText.label;"/>
 #endif
       </menupopup>
     </menulist>
     <checkbox id="smallicons" oncommand="updateIconSize(this.checked ? 'small' : 'large');" label="&useSmallIcons.label;"/>
-    <spacer flex="1"/>
-    <button id="restoreDefault" label="&restoreDefaultSet.label;" oncommand="restoreDefaultSet();"/>
     </hbox>
-    <hbox align="center" pack="end">
-    <button id="donebutton" label="&saveChanges.label;" oncommand="onClose();"
-            default="true"/>
+    <hbox align="center">
+      <button id="restoreDefault" label="&restoreDefaultSet.label;" oncommand="restoreDefaultSet();"/>
+      <spacer flex="1"/>
+      <button id="donebutton" label="&saveChanges.label;" oncommand="onClose();"
+              default="true"/>
   </hbox>
 </vbox>
 
 </window>