Bug 1384812 - Add hbox for the defaultEngine menulist because we would like to make the menulist width just align its content width. r=jaws
authorEvan Tseng <evan@tseng.io>
Thu, 27 Jul 2017 17:51:58 +0800
changeset 420335 fda73b7884dfaabd74069cd31150fa286a3bb333
parent 420334 4283d0e4b1d6a20fcdd523203b21d918752eaae1
child 420336 d42bfe2b2e63992b5a201e15f6cb3de8cc11a112
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1384812
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1384812 - Add hbox for the defaultEngine menulist because we would like to make the menulist width just align its content width. r=jaws MozReview-Commit-ID: DI4d2zloSCb
browser/components/preferences/in-content-new/search.xul
--- a/browser/components/preferences/in-content-new/search.xul
+++ b/browser/components/preferences/in-content-new/search.xul
@@ -25,19 +25,21 @@
           data-category="paneSearch">
       <label class="header-name" flex="1">&paneSearch.title;</label>
     </hbox>
 
     <!-- Default Search Engine -->
     <groupbox id="defaultEngineGroup" data-category="paneSearch">
       <caption label="&defaultSearchEngine.label;"/>
       <label>&chooseYourDefaultSearchEngine2.label;</label>
-      <menulist id="defaultEngine">
-        <menupopup/>
-      </menulist>
+      <hbox>
+        <menulist id="defaultEngine">
+          <menupopup/>
+        </menulist>
+      </hbox>
       <checkbox id="suggestionsInSearchFieldsCheckbox"
                 label="&provideSearchSuggestions.label;"
                 accesskey="&provideSearchSuggestions.accesskey;"
                 preference="browser.search.suggest.enabled"/>
       <vbox class="indent">
         <checkbox id="urlBarSuggestion" label="&showURLBarSuggestions2.label;"
                   accesskey="&showURLBarSuggestions2.accesskey;"
                   preference="browser.urlbar.suggest.searches"/>