]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
form/display edit: use the 'fit' layout to avoid width glitch
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 May 2020 16:26:52 +0000 (18:26 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 May 2020 16:26:55 +0000 (18:26 +0200)
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@proxmox.com>
form/DisplayEdit.js

index ae1aa94acb4e23e4cf71e45e207b83c214654ba6..fa5b3170e4549b40cab43f434460fe2514a517aa 100644 (file)
@@ -22,7 +22,7 @@ Ext.define('Proxmox.form.field.DisplayEdit', {
        vm.set('editable', editable);
     },
 
-    layout: 'hbox',
+    layout: 'fit',
     defaults: {
        hideLabel: true
     },