Blame view

ihm/app/view/Application/Help/HelpPanel.js 575 Bytes
346b85c6   Benjamin Renard   First commit with...
1
2
3
4
5
6
7
8
9
10
11
Ext.define('treps.view.Application.Help.HelpPanel' ,{
	extend: 'Ext.panel.Panel',

	alias: 'widget.app_help',

	title: 'Help',

	width: 500,

	collapsible: true,

0b5a6e69   Benjamin Renard   Help panel not co...
12
	collapsed: false,
346b85c6   Benjamin Renard   First commit with...
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

	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'
		}
	]
});