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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
| Ext.define('Neptune.view.combination.ToolbarsInPanels', {
| extend: 'Ext.container.Container',
| xtype: 'toolbarsInPanels',
| id: 'toolbarsInPanels',
|
| layout: {
| type: 'table',
| columns: 2,
| tdAttrs: { style: 'padding: 7px; vertical-align: top;' }
| },
| defaults: {
| width: 400,
| height: 200,
| bodyPadding: 10,
| html: NeptuneAppData.dummyText,
| autoScroll: true
| },
| items: [
| {
| title: 'Horizontal Toolbars',
| tbar: { xtype: 'basicToolbar' },
| bbar: { xtype: 'basicToolbar' }
| },
| {
| title: 'Horizontal Toolbars Framed',
| frame: true,
| tbar: { xtype: 'basicToolbar' },
| bbar: { xtype: 'basicToolbar' }
| },
| {
| title: 'Vertical Toolbars',
| lbar: { xtype: 'basicToolbar' },
| rbar: { xtype: 'basicToolbar' }
| },
| {
| title: 'Vertical Toolbars Framed',
| frame: true,
| lbar: { xtype: 'basicToolbar' },
| rbar: { xtype: 'basicToolbar' }
| },
| {
| title: 'All Toolbars',
| height: 300,
| tbar: [ {xtype: 'complexButtonGroup' } ],
| bbar: { xtype: 'basicToolbar' },
| lbar: { xtype: 'basicToolbar' },
| rbar: { xtype: 'basicToolbar' }
| },
| {
| title: 'All Toolbars Framed',
| height: 300,
| frame: true,
| tbar: [ {xtype: 'complexButtonGroup' } ],
| bbar: { xtype: 'basicToolbar' },
| lbar: { xtype: 'basicToolbar' },
| rbar: { xtype: 'basicToolbar' }
| }
| ]
| });
|
|