mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-06 11:51:14 +00:00
rename 'autoscroll' parameter to 'scrollable' following framework changes
also move static parameters out of initComponent() for proper panel initialization
This commit is contained in:
parent
63b9faaec1
commit
355ac51eb2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user