rename 'autoscroll' parameter to 'scrollable' following framework changes

also move static parameters out of initComponent() for proper panel
initialization
This commit is contained in:
Emmanuel Kasper 2016-02-17 14:53:58 +01:00 committed by Dietmar Maurer
parent 63b9faaec1
commit 355ac51eb2

View File

@ -2,6 +2,13 @@ Ext.define('PVE.node.Summary', {
extend: 'Ext.panel.Panel',
alias: 'widget.pveNodeSummary',
scrollable: true,
bodyStyle: 'padding:10px',
defaults: {
width: 800,
style: { 'padding-top': '10px' }
},
showVersions: function() {
var me = this;
@ -94,12 +101,6 @@ Ext.define('PVE.node.Summary', {
});
Ext.apply(me, {
autoScroll: true,
bodyStyle: 'padding:10px',
defaults: {
width: 800,
style: { 'padding-top': '10px' }
},
tbar: [version_btn, '->', { xtype: 'pveRRDTypeSelector' } ],
items: [
statusview,