ui: resource tree settings: make wider and clarify field labels

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-02-22 11:37:53 +01:00
parent 0489947166
commit dc4056cfcb

View File

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