Fix #2069 : WebUI: Login window layout problem when using larger than default font size
This commit is contained in:
parent
b1cf5b9c40
commit
cd41089e49
|
@ -59,15 +59,18 @@ Deluge.LoginWindow = Ext.extend(Ext.Window, {
|
||||||
this.form = this.add({
|
this.form = this.add({
|
||||||
xtype: 'form',
|
xtype: 'form',
|
||||||
baseCls: 'x-plain',
|
baseCls: 'x-plain',
|
||||||
labelWidth: 55,
|
labelWidth: 120,
|
||||||
width: 300,
|
labelAlign: 'right',
|
||||||
defaults: {width: 200},
|
defaults: {width: 110},
|
||||||
defaultType: 'textfield'
|
defaultType: 'textfield'
|
||||||
});
|
});
|
||||||
|
|
||||||
this.passwordField = this.form.add({
|
this.passwordField = this.form.add({
|
||||||
xtype: 'textfield',
|
xtype: 'textfield',
|
||||||
fieldLabel: _('Password'),
|
fieldLabel: _('Password'),
|
||||||
|
grow: true,
|
||||||
|
growMin: '110',
|
||||||
|
growMax: '145',
|
||||||
id: '_password',
|
id: '_password',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
inputType: 'password'
|
inputType: 'password'
|
||||||
|
|
Loading…
Reference in New Issue