`useFieldContainer` doesn't seem to be used anymore in any of our products: * PVE * PMG * PBS
it therefore can be considered dead code. Signed-off-by: Aaron Lauterer <a.laute...@proxmox.com> --- v3: added newly after discussing on the mailing list that this is probably dead code [0] [0] https://lists.proxmox.com/pipermail/pve-devel/2020-November/045968.html src/panel/InputPanel.js | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/src/panel/InputPanel.js b/src/panel/InputPanel.js index f132005..ed3521a 100644 --- a/src/panel/InputPanel.js +++ b/src/panel/InputPanel.js @@ -225,25 +225,14 @@ Ext.define('Proxmox.panel.InputPanel', { }); } - if (me.useFieldContainer) { - Ext.apply(me, { - layout: 'fit', - items: Ext.apply(me.useFieldContainer, { - layout: 'column', - defaultType: 'container', - items: items, - }), - }); - } else { - Ext.apply(me, { - layout: { - type: 'vbox', - align: 'stretch', - }, - defaultType: 'container', - items: items, - }); - } + Ext.apply(me, { + layout: { + type: 'vbox', + align: 'stretch', + }, + defaultType: 'container', + items: items, + }); me.callParent(); }, -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel