diff --git a/js/app/controllers/ExplorerModule.js b/js/app/controllers/ExplorerModule.js index e73c9d6..6f6037d 100644 --- a/js/app/controllers/ExplorerModule.js +++ b/js/app/controllers/ExplorerModule.js @@ -102,32 +102,20 @@ Ext.define('amdaDesktop.ExplorerModule', { xtype: 'panelExplorer', id: this.contentId, - region: 'center' - }, - { - xtype: 'label', - text: 'Log:', - margin: '10 0 -5 0', - region: 'south', - height: 20 + region: 'north' }, { xtype: 'panel', + title: 'Log', id: 'LogPanel', region: 'south', - height: 150, split: true, - layout: { - type: 'vbox', - align: 'stretch', - autoSize: true - }, - autoScroll: true, + height: 150, stateful: true, stateId: 'LogPanel', - buttons: [{ - scope: this, - text: 'Clear', + tools: [{ + type: 'close', + tooltip: 'Clear logs', handler: function () { var logPanel = win.items.get('LogPanel') logPanel.removeAll() -- libgit2 0.21.2