Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
]
},
{
- xtype: 'navigationtree',
- reference: 'navtree',
- minWidth: 177,
+ xtype: 'panel',
+ scrollable: 'y',
border: false,
region: 'west',
- // 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'
- }
+ layout: {
+ type: 'vbox',
+ align: 'stretch'
+ },
+ items: [{
+ xtype: 'navigationtree',
+ minWidth: 180,
+ reference: 'navtree',
+ // 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-nav',
+ flex: 1
+ }]
},
{
xtype: 'panel',