Fix #2069 : WebUI: Login window layout problem when using larger than default font size

This commit is contained in:
Calum Lind 2012-11-24 16:49:06 +00:00
parent b1cf5b9c40
commit cd41089e49
1 changed files with 6 additions and 3 deletions

View File

@ -59,15 +59,18 @@ Deluge.LoginWindow = Ext.extend(Ext.Window, {
this.form = this.add({
xtype: 'form',
baseCls: 'x-plain',
labelWidth: 55,
width: 300,
defaults: {width: 200},
labelWidth: 120,
labelAlign: 'right',
defaults: {width: 110},
defaultType: 'textfield'
});
this.passwordField = this.form.add({
xtype: 'textfield',
fieldLabel: _('Password'),
grow: true,
growMin: '110',
growMax: '145',
id: '_password',
name: 'password',
inputType: 'password'