HelpPanel.js
575 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Ext.define('treps.view.Application.Help.HelpPanel' ,{
extend: 'Ext.panel.Panel',
alias: 'widget.app_help',
title: 'Help',
width: 500,
collapsible: true,
collapsed: false,
split: true,
autoScroll: true,
initComponent: function() {
this.callParent(arguments);
},
layout: {
type: 'vbox',
padding: 5,
margin: 5,
align: 'stretch'
},
items: [
{
xtype: 'combo',
editable: false,
store: 'Helps',
displayField: 'title',
valueField : 'id'
},
{
xtype: 'panel',
loader: {
renderer: 'html'
},
layout: 'fit'
}
]
});