]> git.proxmox.com Git - extjs.git/blame - extjs/examples/classic/neptune-components/app/view/combination/ToolbarsInPanels.js
add extjs 6.0.1 sources
[extjs.git] / extjs / examples / classic / neptune-components / app / view / combination / ToolbarsInPanels.js
CommitLineData
6527f429
DM
1Ext.define('Neptune.view.combination.ToolbarsInPanels', {\r
2 extend: 'Ext.container.Container',\r
3 xtype: 'toolbarsInPanels',\r
4 id: 'toolbarsInPanels',\r
5\r
6 layout: {\r
7 type: 'table',\r
8 columns: 2,\r
9 tdAttrs: { style: 'padding: 7px; vertical-align: top;' }\r
10 },\r
11 defaults: {\r
12 width: 400,\r
13 height: 200,\r
14 bodyPadding: 10,\r
15 html: Neptune.DummyText.text,\r
16 scrollable: true\r
17 },\r
18 items: [\r
19 {\r
20 title: 'Horizontal Toolbars',\r
21 tbar: { xtype: 'basicToolbar' },\r
22 bbar: { xtype: 'basicToolbar' }\r
23 },\r
24 {\r
25 title: 'Horizontal Toolbars Framed',\r
26 frame: true,\r
27 tbar: { xtype: 'basicToolbar' },\r
28 bbar: { xtype: 'basicToolbar' }\r
29 },\r
30 {\r
31 title: 'Vertical Toolbars',\r
32 lbar: { xtype: 'basicToolbar' },\r
33 rbar: { xtype: 'basicToolbar' }\r
34 },\r
35 {\r
36 title: 'Vertical Toolbars Framed',\r
37 frame: true,\r
38 lbar: { xtype: 'basicToolbar' },\r
39 rbar: { xtype: 'basicToolbar' }\r
40 },\r
41 {\r
42 title: 'All Toolbars',\r
43 height: 300,\r
44 tbar: [ {xtype: 'complexButtonGroup' } ],\r
45 bbar: { xtype: 'basicToolbar' },\r
46 lbar: { xtype: 'basicToolbar' },\r
47 rbar: { xtype: 'basicToolbar' }\r
48 },\r
49 {\r
50 title: 'All Toolbars Framed',\r
51 height: 300,\r
52 frame: true,\r
53 tbar: [ {xtype: 'complexButtonGroup' } ],\r
54 bbar: { xtype: 'basicToolbar' },\r
55 lbar: { xtype: 'basicToolbar' },\r
56 rbar: { xtype: 'basicToolbar' }\r
57 }\r
58 ]\r
59});