]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: labelWidth gets `px` suffixed so `auto` won't work
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 4 Oct 2019 12:38:31 +0000 (14:38 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 4 Oct 2019 12:38:34 +0000 (14:38 +0200)
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>
www/manager6/window/Settings.js

index 61eabde309e1abc86e6a623c985c338da53d546c..b349e3f71d372bf7f0c6f4ad3b6a8b4e30ae73de 100644 (file)
@@ -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,