From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id D65466BB28 for ; Fri, 19 Feb 2021 15:27:01 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id CEED019979 for ; Fri, 19 Feb 2021 15:27:01 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 65FE619971 for ; Fri, 19 Feb 2021 15:27:01 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 2D6B3461B7 for ; Fri, 19 Feb 2021 15:27:01 +0100 (CET) From: Dominik Csapak To: pve-devel@lists.proxmox.com Date: Fri, 19 Feb 2021 15:27:00 +0100 Message-Id: <20210219142700.6781-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.214 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH manager] ui: window/Settings: fix labelWidth for saved user name X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2021 14:27:01 -0000 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.20.1