[pve-devel] [PATCH manager] gui: Bandwidth limits: increase labelWidth to 120

Dominik Csapak d.csapak at proxmox.com
Wed Nov 27 17:31:44 CET 2019


in some languages (e.g. German) the default (100) is too short for some labels,
resulting in cut-off text. We often use 120 in such cases, so we should
do here as well

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/dc/OptionView.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/dc/OptionView.js b/www/manager6/dc/OptionView.js
index d4334428..d98e7351 100644
--- a/www/manager6/dc/OptionView.js
+++ b/www/manager6/dc/OptionView.js
@@ -166,6 +166,7 @@ Ext.define('PVE.dc.OptionView', {
 	    width: 450,
 	    url: "/api2/extjs/cluster/options",
 	    parseBeforeSet: true,
+	    labelWidth: 120,
 	    items: [{
 		xtype: 'pveBandwidthField',
 		name: 'default',
-- 
2.20.1





More information about the pve-devel mailing list