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 <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-05-26 11:12:02 +02:00 committed by Thomas Lamprecht
parent f8735e5988
commit c793da1edc
2 changed files with 3 additions and 2 deletions

View File

@ -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,
}],
},

View File

@ -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;
}