From ad8b37fa132456cb6308f024078bf2f6b7558976 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 19 Feb 2021 15:27:00 +0100 Subject: [PATCH] ui: window/Settings: fix labelWidth for saved user name Somewhere during rendering of the window, extjs wants to add 5px to the labelwidth for the surrounding container. Having a string here results in the container having a width of 1505px instead of 155px and the value of the field is far off to the right and not visible. Changing to a number fixes that. Signed-off-by: Dominik Csapak --- www/manager6/window/Settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager6/window/Settings.js b/www/manager6/window/Settings.js index c92d2a25..75feb373 100644 --- a/www/manager6/window/Settings.js +++ b/www/manager6/window/Settings.js @@ -238,7 +238,7 @@ Ext.define('PVE.window.Settings', { { xtype: 'displayfield', fieldLabel: gettext('Saved User Name') + ':', - labelWidth: '150', + labelWidth: 150, stateId: 'login-username', reference: 'savedUserName', flex: 1, -- 2.39.5