On 04/04/2025 18:08, Markus Frank wrote:
diff --git a/www/manager6/dc/Config.js b/www/manager6/dc/Config.js index 74728c83..2958fb88 100644 --- a/www/manager6/dc/Config.js +++ b/www/manager6/dc/Config.js @@ -329,6 +329,16 @@ Ext.define('PVE.dc.Config', { title: gettext('USB Devices'), flex: 1, }, + { + xtype: 'splitter', + collapsible: false, + performCollapse: false, + }, + { + xtype: 'pveDcDirMapView', + title: gettext('Directories'), + flex: 1, + }, ], }, );
Using a tabpanel here would reduce clutter on smaller screens. me.items.push( { - xtype: 'container', + xtype: 'tabpanel', onlineHelp: 'resource_mapping', title: gettext('Resource Mappings'), itemId: 'resources', iconCls: 'fa fa-folder-o', - layout: { - type: 'vbox', - align: 'stretch', - multi: true, - }, - scrollable: true, - defaults: { - border: false, - }, items: [ { xtype: 'pveDcPCIMapView', title: gettext('PCI Devices'), - flex: 1, - }, - { - xtype: 'splitter', - collapsible: false, - performCollapse: false, + itemId: 'pci-map', }, { xtype: 'pveDcUSBMapView', title: gettext('USB Devices'), - flex: 1, - }, - { - xtype: 'splitter', - collapsible: false, - performCollapse: false, + itemId: 'usb-map', }, { xtype: 'pveDcDirMapView', title: gettext('Directories'), - flex: 1, + itemId: 'dir-map', }, ], }, _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel