Bug 485720 Clean up including removing bogus use of flex attributes r=gavin
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Sun, 31 Jan 2010 21:36:42 +0000
changeset 37779 a15f09d028593f9ba5235928589d74a05d7af9b3
parent 37778 3048d03980e70a1ae7de23dc1ffb2ac7c586fb15
child 37780 e5958f05a6dcf7442bb5a0c179030e8f1ef9d776
push id11427
push userneil@parkwaycc.co.uk
push dateSun, 31 Jan 2010 21:36:58 +0000
treeherdermozilla-central@a15f09d02859 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin
bugs485720
milestone1.9.3a1pre
Bug 485720 Clean up including removing bogus use of flex attributes r=gavin
toolkit/content/finddialog.xul
--- a/toolkit/content/finddialog.xul
+++ b/toolkit/content/finddialog.xul
@@ -56,37 +56,37 @@
   ondialogaccept="return onAccept();"
   buttons="accept,cancel"
   title="&findDialog.title;"
   persist="screenX screenY">
 
   <script type="application/javascript" src="chrome://global/content/finddialog.js"/>
   <stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
 
-  <hbox flex="1">
-    <vbox flex="1">
-      <hbox flex="1">
+  <hbox>
+    <vbox>
+      <hbox align="center">
         <label value="&findField.label;" accesskey="&findField.accesskey;" control="dialog.findKey"/>
         <textbox id="dialog.findKey" flex="1" oninput="doEnabling();"/>
       </hbox>
-      <hbox flex="1">
-        <vbox pack="center" flex="1">
+      <hbox align="center">
+        <vbox>
           <checkbox id="dialog.caseSensitive" label="&caseSensitiveCheckbox.label;" accesskey="&caseSensitiveCheckbox.accesskey;"/>
           <checkbox id="dialog.wrap" label="&wrapCheckbox.label;" accesskey="&wrapCheckbox.accesskey;" checked="true"/>
         </vbox>
-        <groupbox orient="horizontal" flex="1">
+        <groupbox orient="horizontal">
           <caption label="&direction.label;"/>
-          <radiogroup orient="horizontal" flex="1">
+          <radiogroup orient="horizontal">
             <radio id="radioUp" label="&up.label;" accesskey="&up.accesskey;"/>
             <radio id="radioDown" label="&down.label;" accesskey="&down.accesskey;" selected="true"/>
           </radiogroup>
         </groupbox>
       </hbox>
     </vbox>
-    <vbox flex="1">
+    <vbox>
       <button id="btnFind" label="&findButton.label;" accesskey="&findButton.accesskey;"
               dlgtype="accept" icon="find"/>
 #ifdef XP_UNIX
       <button label="&closeButton.label;" icon="close" dlgtype="cancel"/>
 #else
       <button label="&cancelButton.label;" icon="cancel" dlgtype="cancel"/>
 #endif
     </vbox>