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
Bug 1172406 - Wrap the labels in the Master Password subdialog. r=Gijs, a=lizzard CLOSED TREE
--- 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" >
 <dialog id="changemp" title="&setPassword.title;"
-        style="width: 35em;" 
+        style="width: 40em;" 
   <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>
-        <column/>
+        <column flex="1"/>
-          <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" />
-          <label control="pw1" value="&setPassword.newPassword.label;"/> 
+          <label control="pw1">&setPassword.newPassword.label;</label>
           <textbox id="pw1" type="password" 
                    oninput="setPasswordStrength(); checkPasswords();"/> 
-          <label control="pw2" value="&setPassword.reenterPassword.label;"/> 
+          <label control="pw2">&setPassword.reenterPassword.label;</label>
           <textbox id="pw2" type="password" oninput="checkPasswords();"/>  
     <caption label="&setPassword.meter.label;"/>