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:
parent
f8735e5988
commit
c793da1edc
@ -272,6 +272,7 @@ Ext.define('PBS.MainView', {
|
|||||||
items: [{
|
items: [{
|
||||||
xtype: 'navigationtree',
|
xtype: 'navigationtree',
|
||||||
minWidth: 180,
|
minWidth: 180,
|
||||||
|
ui: 'pve-nav',
|
||||||
reference: 'navtree',
|
reference: 'navtree',
|
||||||
// we have to define it here until extjs 6.2
|
// we have to define it here until extjs 6.2
|
||||||
// because of a bug where a viewcontroller does not detect
|
// because of a bug where a viewcontroller does not detect
|
||||||
@ -281,7 +282,7 @@ Ext.define('PBS.MainView', {
|
|||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
xtype: 'box',
|
xtype: 'box',
|
||||||
cls: 'x-treelist-nav',
|
cls: 'x-treelist-pve-nav',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
}],
|
}],
|
||||||
},
|
},
|
||||||
|
@ -143,7 +143,7 @@ table:not(.x-grid-item-selected) tr.x-grid-row.disabled {
|
|||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.x-treelist-nav {
|
.x-treelist-pve-nav {
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
border-right: 1px solid #cfcfcf;
|
border-right: 1px solid #cfcfcf;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user