From c793da1edc5f06d87f883d40365da7f01c77e7f1 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Wed, 26 May 2021 11:12:02 +0200 Subject: [PATCH] ui: MainView: navigation: use different ui class by default the treelist gets the 'nav' ui, which in newer extjs versions has a custom styling (unlike before) Signed-off-by: Dominik Csapak --- www/MainView.js | 3 ++- www/css/ext6-pbs.css | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/www/MainView.js b/www/MainView.js index 54fec62e..cd63f4c7 100644 --- a/www/MainView.js +++ b/www/MainView.js @@ -272,6 +272,7 @@ Ext.define('PBS.MainView', { items: [{ xtype: 'navigationtree', minWidth: 180, + ui: 'pve-nav', reference: 'navtree', // we have to define it here until extjs 6.2 // because of a bug where a viewcontroller does not detect @@ -281,7 +282,7 @@ Ext.define('PBS.MainView', { }, }, { xtype: 'box', - cls: 'x-treelist-nav', + cls: 'x-treelist-pve-nav', flex: 1, }], }, diff --git a/www/css/ext6-pbs.css b/www/css/ext6-pbs.css index 51d68711..e561eb10 100644 --- a/www/css/ext6-pbs.css +++ b/www/css/ext6-pbs.css @@ -143,7 +143,7 @@ table:not(.x-grid-item-selected) tr.x-grid-row.disabled { color: #000; } -.x-treelist-nav { +.x-treelist-pve-nav { background-color: #f5f5f5; border-right: 1px solid #cfcfcf; }