Bug 636846 - Search field changes size when focused. r+a=mossop
authorDão Gottwald <dao@mozilla.com>
Tue, 01 Mar 2011 09:31:35 +0100
changeset 63199 ec8a059bea58fd550dad8d34c265293bf2d3d706
parent 63198 372eca6704c2555906a06ae68e10b22005f00cea
child 63200 9f426a5d89f526bcf36329e8676cc32dc707f893
push id19073
push userdgottwald@mozilla.com
push dateTue, 01 Mar 2011 08:32:19 +0000
treeherdermozilla-central@ec8a059bea58 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs636846
milestone2.0b13pre
first release with
nightly win64
ec8a059bea58 / 4.0b13pre / 20110301030203 / files
nightly linux32
nightly linux64
nightly mac
nightly win32
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly win64
Bug 636846 - Search field changes size when focused. r+a=mossop
toolkit/mozapps/extensions/content/extensions.css
toolkit/mozapps/extensions/content/extensions.xul
--- a/toolkit/mozapps/extensions/content/extensions.css
+++ b/toolkit/mozapps/extensions/content/extensions.css
@@ -170,8 +170,12 @@ xhtml|link {
 #discover-view:not([selectedIndex="0"]) .loading {
   display: none;
 }
 
 /* Elements in unselected richlistitems cannot be focused */
 richlistitem:not([selected]) * {
   -moz-user-focus: ignore;
 }
+
+#header-search {
+  width: 22em;
+}
--- a/toolkit/mozapps/extensions/content/extensions.xul
+++ b/toolkit/mozapps/extensions/content/extensions.xul
@@ -195,17 +195,17 @@
                   accesskey="&updates.resetUpdatesToAutomatic.accesskey;"
                   command="cmd_resetAddonAutoUpdate"/>
         <menuitem id="utils-resetAddonUpdatesToManual"
                   label="&updates.resetUpdatesToManual.label;"
                   accesskey="&updates.resetUpdatesToManual.accesskey;"
                   command="cmd_resetAddonAutoUpdate"/>
       </menupopup>
     </toolbarbutton>
-    <textbox id="header-search" type="search" searchbutton="true" size="35"
+    <textbox id="header-search" type="search" searchbutton="true"
              placeholder="&search.placeholder;"/>
   </hbox>
 
   <hbox flex="1">
 
     <!-- category list -->
     <richlistbox id="categories" persist="last-selected">
       <richlistitem id="category-search" value="addons://search/"