ui: labelWidth gets px
suffixed so auto
won't work
This is a common mistake with widths in ExtJS, most of them have the 'px' unit implicit, so using things like 'auto' or '100%' does not works with them. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f5e33d4656
commit
93d94f627c
@ -225,7 +225,7 @@ Ext.define('PVE.window.Settings', {
|
||||
{
|
||||
xtype: 'displayfield',
|
||||
fieldLabel: gettext('Saved User Name:'),
|
||||
labelWidth: 'auto',
|
||||
labelWidth: '150',
|
||||
stateId: 'login-username',
|
||||
reference: 'savedUserName',
|
||||
flex: 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user