[pve-devel] [PATCH manager 5/5] ui: resource mappings: remove border and add resize handle

Dominik Csapak d.csapak at proxmox.com
Mon Jun 19 11:13:34 CEST 2023


aka a 'splitter'. that way the user can determine how much of each panel
he wants to see himself

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/dc/Config.js | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/www/manager6/dc/Config.js b/www/manager6/dc/Config.js
index 10a4d83a..04ed04f0 100644
--- a/www/manager6/dc/Config.js
+++ b/www/manager6/dc/Config.js
@@ -294,19 +294,20 @@ Ext.define('PVE.dc.Config', {
 		    },
 		    scrollable: true,
 		    defaults: {
-			collapsible: true,
-			animCollapse: false,
-			margin: '7 10 3 10',
+			border: false,
 		    },
 		    items: [
 			{
-			    collapsible: true,
 			    xtype: 'pveDcPCIMapView',
 			    title: gettext('PCI Devices'),
 			    flex: 1,
 			},
 			{
-			    collapsible: true,
+			    xtype: 'splitter',
+			    collapsible: false,
+			    performCollapse: false,
+			},
+			{
 			    xtype: 'pveDcUSBMapView',
 			    title: gettext('USB Devices'),
 			    flex: 1,
-- 
2.30.2






More information about the pve-devel mailing list