[pve-devel] [PATCH v2 manager 2/3] ui: mpedit: align column2 labelWidth

Aaron Lauterer a.lauterer at proxmox.com
Mon Dec 2 10:58:27 CET 2019


the new "Include in backup" label needs more space

Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
 www/manager6/lxc/MPEdit.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/www/manager6/lxc/MPEdit.js b/www/manager6/lxc/MPEdit.js
index 9f84bcc2..1eab996b 100644
--- a/www/manager6/lxc/MPEdit.js
+++ b/www/manager6/lxc/MPEdit.js
@@ -234,6 +234,7 @@ Ext.define('PVE.lxc.MountPointInputPanel', {
 	    name: 'mp',
 	    value: '',
 	    emptyText:  gettext('/some/path'),
+	    labelWidth: 120,
 	    allowBlank: false,
 	    disabled: true,
 	    fieldLabel: gettext('Path'),
@@ -245,6 +246,7 @@ Ext.define('PVE.lxc.MountPointInputPanel', {
 	{
 	    xtype: 'proxmoxcheckbox',
 	    name: 'backup',
+	    labelWidth: 120,
 	    fieldLabel: gettext('Include in backup'),
 	    bind: {
 		hidden: '{isRoot}',
@@ -301,6 +303,7 @@ Ext.define('PVE.lxc.MountPointInputPanel', {
 	    xtype: 'proxmoxKVComboBox',
 	    name: 'acl',
 	    fieldLabel: 'ACLs',
+	    labelWidth: 120,
 	    deleteEmpty: false,
 	    comboItems: [
 		['__default__', Proxmox.Utils.defaultText],
@@ -316,6 +319,7 @@ Ext.define('PVE.lxc.MountPointInputPanel', {
 	{
 	    xtype: 'proxmoxcheckbox',
 	    inputValue: '0', // reverses the logic
+	    labelWidth: 120,
 	    name: 'replicate',
 	    fieldLabel: gettext('Skip replication')
 	}
-- 
2.20.1





More information about the pve-devel mailing list