mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-08-07 16:52:58 +00:00
quranatine view: make navtree more like main navtree
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
13f8df5c6c
commit
3d233789a6
@ -249,17 +249,31 @@ Ext.define('PMG.QuarantineView', {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtype: 'quarantinenavigationtree',
|
xtype: 'panel',
|
||||||
reference: 'navtree',
|
scrollable: 'y',
|
||||||
minWidth: 177,
|
|
||||||
border: false,
|
border: false,
|
||||||
region: 'west',
|
region: 'west',
|
||||||
// we have to define it here until extjs 6.2
|
layout: {
|
||||||
// because of a bug where a viewcontroller does not detect
|
type: 'vbox',
|
||||||
// the selectionchange event of a treelist
|
align: 'stretch',
|
||||||
listeners: {
|
|
||||||
selectionchange: 'navigate',
|
|
||||||
},
|
},
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
xtype: 'quarantinenavigationtree',
|
||||||
|
reference: 'navtree',
|
||||||
|
minWidth: 180,
|
||||||
|
// we have to define it here until extjs 6.2 because of a bug where a
|
||||||
|
// viewcontroller does not detect the selectionchange event of a treelist
|
||||||
|
listeners: {
|
||||||
|
selectionchange: 'navigate',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtype: 'box',
|
||||||
|
cls: 'x-treelist-pve-nav',
|
||||||
|
flex: 1,
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtype: 'panel',
|
xtype: 'panel',
|
||||||
|
Loading…
Reference in New Issue
Block a user