]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: resource tree settings: make wider and clarify field labels
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 Feb 2023 10:37:53 +0000 (11:37 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 Feb 2023 10:37:53 +0000 (11:37 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/window/TreeSettingsEdit.js

index 74355daa3ea91b734f6e6ca98ca4788afc6cab95..ed8b7adeda176be91a0abb8c7d6373b669ac3b56 100644 (file)
@@ -7,8 +7,9 @@ Ext.define('PVE.window.TreeSettingsEdit', {
 
     url: '#', // ignored as submit() gets overriden here, but the parent class requires it
 
+    width: 450,
     fieldDefaults: {
-       labelWidth: 120,
+       labelWidth: 150,
     },
 
     items: [
@@ -18,7 +19,7 @@ Ext.define('PVE.window.TreeSettingsEdit', {
                {
                    xtype: 'proxmoxKVComboBox',
                    name: 'sort-field',
-                   fieldLabel: gettext('Sort Field'),
+                   fieldLabel: gettext('Sort Key'),
                    comboItems: [
                        ['__default__', `${Proxmox.Utils.defaultText} (VMID)`],
                        ['vmid', 'VMID'],
@@ -44,7 +45,7 @@ Ext.define('PVE.window.TreeSettingsEdit', {
                {
                    xtype: 'proxmoxKVComboBox',
                    name: 'group-guest-types',
-                   fieldLabel: gettext('Group Types'),
+                   fieldLabel: gettext('Group Guest Types'),
                    comboItems: [
                        ['__default__', `${Proxmox.Utils.defaultText} (${gettext("Yes")})`],
                        [1, gettext('Yes')],