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
| Ext.define('KitchenSink.view.tab.IconTabs', {
| extend: 'Ext.container.Container',
| xtype: 'icon-tabs',
| width: 400,
|
| //<example>
| exampleTitle: 'Icon Tabs',
| exampleDescription: [
| '<p>Demonstrates a tab panel with icons in the tab buttons.</p>'
| ].join(''),
| //</example>
|
| defaults: {
| xtype: 'tabpanel',
| width: 400,
| height: 200,
| defaults: {
| bodyPadding: 10,
| autoScroll: true
| }
| },
|
| items: [{
| margin: '0 0 20 0',
| items: [{
| glyph: 72,
| html: KitchenSink.DummyText.longText
| }, {
| glyph: 99,
| html: KitchenSink.DummyText.extraLongText
| }, {
| glyph: 42,
| disabled: true
| }]
| }, {
| plain: true,
| items: [{
| title: 'Active Tab',
| glyph: 72,
| html: KitchenSink.DummyText.longText
| }, {
| title: 'Inactive Tab',
| glyph: 99,
| html: KitchenSink.DummyText.extraLongText
| }, {
| title: 'Disabled Tab',
| glyph: 42,
| disabled: true
| }]
| }]
| });
|
|