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.
authorFlorian Quèze <florian@queze.net>
Tue, 25 Nov 2014 20:13:12 +0100
changeset 242169 5c24bc95888c59672963c71033b6968e4373c998
parent 242168 7fe723e2de8b4cede3f5f726b0c13612e4e5449f
child 242170 69c30325e867be4b9fdb6d1de6d7484dfd0a4afe
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfelipe
bugs1104748
milestone36.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 1104748 - A long default search provider name can mess up the layout of the one-off buttons when the panel is small, r=felipe.
browser/base/content/urlbarBindings.xml
--- a/browser/base/content/urlbarBindings.xml
+++ b/browser/base/content/urlbarBindings.xml
@@ -955,17 +955,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"/>