summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2012-11-24 16:49:06 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2012-11-24 18:19:37 +0000
commitcd41089e49d05da93c96104459954825ce61bcc5 (patch)
treea84da52b171801aac08b6c347ce9b57bb771425f
parentb1cf5b9c405d9c3ea37f29d252ef39bd71181ff3 (diff)
downloaddeluge-cd41089e49d05da93c96104459954825ce61bcc5.tar.gz
deluge-cd41089e49d05da93c96104459954825ce61bcc5.tar.bz2
deluge-cd41089e49d05da93c96104459954825ce61bcc5.zip
Fix #2069 : WebUI: Login window layout problem when using larger than default font size
-rw-r--r--deluge/ui/web/js/deluge-all/LoginWindow.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/deluge/ui/web/js/deluge-all/LoginWindow.js b/deluge/ui/web/js/deluge-all/LoginWindow.js
index de77fd78f..2946a0155 100644
--- a/deluge/ui/web/js/deluge-all/LoginWindow.js
+++ b/deluge/ui/web/js/deluge-all/LoginWindow.js
@@ -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'