Bug 1104748 - A long default search provider name can mess up the layout of the one-off buttons when the panel is small, r=felipe, a=lmandel.
authorFlorian Quèze <florian@queze.net>
Tue, 25 Nov 2014 20:13:12 +0100
changeset 234080 3c2c29abfa354cc119cd664e53d88ee4d149c8d9
parent 234079 85972aeeccf68d3c9669edf85aebfee9f32a6f07
child 234081 b97e451b0e6763cfd4a49309b021bde65dff7868
push id1
push usersledru@mozilla.com
push dateThu, 04 Dec 2014 17:57:20 +0000
reviewersfelipe, lmandel
bugs1104748
milestone35.0a2
Bug 1104748 - A long default search provider name can mess up the layout of the one-off buttons when the panel is small, r=felipe, a=lmandel.
browser/base/content/urlbarBindings.xml
--- a/browser/base/content/urlbarBindings.xml
+++ b/browser/base/content/urlbarBindings.xml
@@ -937,17 +937,17 @@
   <binding id="browser-search-autocomplete-result-popup" extends="chrome://browser/content/urlbarBindings.xml#browser-autocomplete-result-popup">
     <resources>
       <stylesheet src="chrome://browser/skin/searchbar.css"/>
     </resources>
     <content ignorekeys="true" level="top" consumeoutsideclicks="false">
       <xul:hbox xbl:inherits="collapsed=showonlysettings"
                 class="search-panel-header search-panel-current-engine">
         <xul:image class="searchbar-engine-image" xbl:inherits="src"/>
-        <xul:label anonid="searchbar-engine-name"/>
+        <xul:label anonid="searchbar-engine-name" flex="1" crop="end"/>
       </xul:hbox>
       <xul:tree anonid="tree" flex="1"
                 class="autocomplete-tree plain search-panel-tree"
                 hidecolumnpicker="true" seltype="single">
         <xul:treecols anonid="treecols">
           <xul:treecol id="treecolAutoCompleteValue" class="autocomplete-treecol" flex="1" overflow="true"/>
         </xul:treecols>
         <xul:treechildren class="autocomplete-treebody"/>