Bug 1172406 - Wrap the labels in the Master Password subdialog. r=Gijs, a=lizzard
authorJared Wein <jwein@mozilla.com>
Thu, 18 Jun 2015 12:26:53 -0400
changeset 267769 d4648fee1cca7575e8b8c69576ff84773cc57440
parent 267768 9cdb8806596bd5890acb67663956c91e96049dbd
child 267770 5fecfbec2e3c934d4646a739bea60d3c93a35f9e
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs, lizzard
bugs1172406
milestone39.0
Bug 1172406 - Wrap the labels in the Master Password subdialog. r=Gijs, a=lizzard CLOSED TREE
toolkit/mozapps/preferences/changemp.xul
--- a/toolkit/mozapps/preferences/changemp.xul
+++ b/toolkit/mozapps/preferences/changemp.xul
@@ -10,52 +10,52 @@
 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
 <!ENTITY % changempDTD SYSTEM "chrome://mozapps/locale/preferences/changemp.dtd" >
 %brandDTD;
 %changempDTD;
 ]>
 
 <dialog id="changemp" title="&setPassword.title;"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
-        style="width: 35em;" 
+        style="width: 40em;" 
         ondialogaccept="setPassword();" 
         onload="init()">
 
   <script type="application/javascript" src="chrome://mozapps/content/preferences/changemp.js"/>
 
   <stringbundle id="bundlePreferences" src="chrome://mozapps/locale/preferences/preferences.properties"/>
 
   <description control="pw1">&masterPasswordDescription.label;</description>
 
   <groupbox>
     <grid>
       <columns>
-        <column/>
+        <column flex="1"/>
         <column/> 
       </columns>
       <rows>
         <row>
-          <label control="oldpw" value="&setPassword.oldPassword.label;"/> 
+          <label control="oldpw">&setPassword.oldPassword.label;</label>
           <textbox id="oldpw" type="password"/>
           <!-- This textbox is inserted as a workaround to the fact that making the 'type' 
                 & 'disabled' property of the 'oldpw' textbox toggle between ['password' & 
                 'false'] and ['text' & 'true'] - as would be necessary if the menu has more 
                 than one tokens, some initialized and some not - does not work properly. So, 
                 either the textbox 'oldpw' or the textbox 'message' would be displayed, 
                 depending on the state of the token selected 
           -->
           <textbox id="message" disabled="true" />
         </row>
         <row>
-          <label control="pw1" value="&setPassword.newPassword.label;"/> 
+          <label control="pw1">&setPassword.newPassword.label;</label>
           <textbox id="pw1" type="password" 
                    oninput="setPasswordStrength(); checkPasswords();"/> 
         </row>
         <row>
-          <label control="pw2" value="&setPassword.reenterPassword.label;"/> 
+          <label control="pw2">&setPassword.reenterPassword.label;</label>
           <textbox id="pw2" type="password" oninput="checkPasswords();"/>  
         </row>
       </rows>
     </grid>
   </groupbox>
 
   <groupbox>
     <caption label="&setPassword.meter.label;"/>