mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-07 16:14:58 +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',
|
extend: 'Ext.panel.Panel',
|
||||||
alias: 'widget.pveNodeSummary',
|
alias: 'widget.pveNodeSummary',
|
||||||
|
|
||||||
|
scrollable: true,
|
||||||
|
bodyStyle: 'padding:10px',
|
||||||
|
defaults: {
|
||||||
|
width: 800,
|
||||||
|
style: { 'padding-top': '10px' }
|
||||||
|
},
|
||||||
|
|
||||||
showVersions: function() {
|
showVersions: function() {
|
||||||
var me = this;
|
var me = this;
|
||||||
|
|
||||||
@ -94,12 +101,6 @@ Ext.define('PVE.node.Summary', {
|
|||||||
});
|
});
|
||||||
|
|
||||||
Ext.apply(me, {
|
Ext.apply(me, {
|
||||||
autoScroll: true,
|
|
||||||
bodyStyle: 'padding:10px',
|
|
||||||
defaults: {
|
|
||||||
width: 800,
|
|
||||||
style: { 'padding-top': '10px' }
|
|
||||||
},
|
|
||||||
tbar: [version_btn, '->', { xtype: 'pveRRDTypeSelector' } ],
|
tbar: [version_btn, '->', { xtype: 'pveRRDTypeSelector' } ],
|
||||||
items: [
|
items: [
|
||||||
statusview,
|
statusview,
|
||||||
|
Loading…
Reference in New Issue
Block a user