]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | /**\r |
2 | * This is used to display the source code for any given example. Each example has a 'Source' button\r | |
3 | * on its top toolbar that activates this\r | |
4 | */\r | |
5 | Ext.define('KitchenSink.view.SourceOverlay', {\r | |
6 | extend: 'Ext.TabPanel',\r | |
7 | xtype: 'sourceoverlay',\r | |
8 | id: 'sourceoverlay',\r | |
9 | config: {\r | |
10 | modal: true,\r | |
11 | hideOnMaskTap: true,\r | |
12 | top: '10%',\r | |
13 | left: Ext.filterPlatform('ie10') ? 0 : '10%',\r | |
14 | right: Ext.filterPlatform('ie10') ? 0 : '10%',\r | |
15 | bottom: '10%',\r | |
16 | defaultType: 'sourceitem',\r | |
17 | zIndex: 100,\r | |
18 | items: [{\r | |
19 | xtype: 'titlebar',\r | |
20 | title: 'Source',\r | |
21 | docked: 'top',\r | |
22 | ui: 'neutral'\r | |
23 | }]\r | |
24 | }\r | |
25 | });\r |