Bug 416799 - Buttons in Page Info's Security tab are streched vertically when text wraps, r=gavin, a=schrep
authorphilringnalda@gmail.com
Thu, 14 Feb 2008 20:58:33 -0800
changeset 11749 c49445dde97423d4cce3cd279d82a6be7c324f99
parent 11748 71e5a2c9d4cb087f5997dd245f252496ddb30da1
child 11750 55ed29db33b510e4f3e0e46e7c4a8260ca228c72
push idunknown
push userunknown
push dateunknown
reviewersgavin, schrep
bugs416799
milestone1.9b4pre
Bug 416799 - Buttons in Page Info's Security tab are streched vertically when text wraps, r=gavin, a=schrep
browser/base/content/pageinfo/pageInfo.xul
--- a/browser/base/content/pageinfo/pageInfo.xul
+++ b/browser/base/content/pageinfo/pageInfo.xul
@@ -393,17 +393,17 @@
                      value="&securityView.identity.verifier;"
                      control="security-identity-verifier-value"/>
               <textbox id="security-identity-verifier-value"
                        class="fieldValue" readonly="true" />
             </row>
           </rows>
         </grid>
         <spacer flex="1"/>
-        <hbox><!-- Cert button -->
+        <hbox align="center"><!-- Cert button -->
           <description id="security-view-text" class="fieldLabel"
                  control="security-view-cert" flex="1"/>
           <button id="security-view-cert" label="&securityView.certView;"
                   accesskey="&securityView.accesskey;"
                   oncommand="security.viewCert();"/>
         </hbox>
       </groupbox>
       
@@ -424,33 +424,33 @@
                        class="fieldValue"
                        value="&securityView.unknown;"
                        readonly="true"/>
             </row>
             <row><!-- Cookies -->
               <label id="security-privacy-cookies-label"
                            control="security-privacy-cookies-value"
                            class="fieldLabel">&securityView.privacy.cookies;</label>
-              <hbox>
+              <hbox align="center">
                 <textbox id="security-privacy-cookies-value"
                          class="fieldValue"
                          value="&securityView.unknown;"
                          flex="1"
                          readonly="true"/>
                 <button id="security-view-cookies"
                         label="&securityView.privacy.viewCookies;"
                         accesskey="&securityView.privacy.viewCookies.accessKey;"
                         oncommand="security.viewCookies();"/>
               </hbox>
             </row>
             <row><!-- Passwords -->
               <label id="security-privacy-passwords-label"
                             control="security-privacy-passwords-value"
                             class="fieldLabel">&securityView.privacy.passwords;</label>
-              <hbox>
+              <hbox align="center">
                 <textbox id="security-privacy-passwords-value"
                          class="fieldValue"
                          value="&securityView.unknown;"
                          flex="1"
                          readonly="true"/>
                 <button id="security-view-password"
                         label="&securityView.privacy.viewPasswords;"
                         accesskey="&securityView.privacy.viewPasswords.accessKey;"