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. SEAMONKEY_2_31b2_BUILD1 SEAMONKEY_2_31b2_RELEASE
authorFlorian Quèze <florian@queze.net>
Tue, 25 Nov 2014 20:13:12 +0100
changeset 227439 c0c3429824fcc3ebd11409664c8a8b4c739849da
parent 227438 e350081598fa3b51e19f5ba64dd5680a2aab7ec1
child 227440 e08ba260399ae9ad2ac9758d2339b97d0fdb05a6
child 227442 48cf662ee226f8adc5f9d0e149c2035a238e11d3
child 227475 ce74ca4a9ce1cf917ba097e2a5a3365a480f3810
push id590
push usergsharp@mozilla.com
push dateTue, 25 Nov 2014 23:20:01 +0000
treeherdermozilla-release@e08ba260399a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfelipe, lmandel
bugs1104748
milestone34.0
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
@@ -897,17 +897,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" anonid="searchbar-engine"
                 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"/>