form/display edit: use the 'fit' layout to avoid width glitch

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>
This commit is contained in:
Thomas Lamprecht 2020-05-26 18:26:52 +02:00
parent 865be88ed5
commit 187e9a6d3a

View File

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