[pve-devel] applied: [PATCH] form/display edit: use the 'fit' layout to avoid width glitch

Thomas Lamprecht t.lamprecht at proxmox.com
Tue May 26 18:28:47 CEST 2020


As else we get some issues with inner field adding some space on
outer fieldcontainer, which let a mix of "normal" fields and this one
appear asymmetrical.

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 form/DisplayEdit.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/form/DisplayEdit.js b/form/DisplayEdit.js
index ae1aa94..fa5b317 100644
--- a/form/DisplayEdit.js
+++ b/form/DisplayEdit.js
@@ -22,7 +22,7 @@ Ext.define('Proxmox.form.field.DisplayEdit', {
 	vm.set('editable', editable);
     },
 
-    layout: 'hbox',
+    layout: 'fit',
     defaults: {
 	hideLabel: true
     },
-- 
2.20.1





More information about the pve-devel mailing list