fix login window on chrome

labelWidth: 'auto' is not valid since extjs simply
adds 'px' and sets it as width which would result in:

width: 'autopx';

which is not valid css. chrome/chromium had a change such that this now
produces the wrong height in the login bottom 'button bar'

250 should be enough for all translations and we do not have
any other element there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2019-09-06 14:28:20 +02:00 committed by Thomas Lamprecht
parent 902e03a13f
commit 9abbcbef77

View File

@ -253,7 +253,7 @@ Ext.define('PVE.window.LoginWindow', {
name: 'saveusername',
reference: 'saveunField',
stateId: 'login-saveusername',
labelWidth: 'auto',
labelWidth: 250,
labelAlign: 'right',
submitValue: false
},