---
title: "Sencha touch Ext.Panel"
author: "junjun16818"
date: "2011-02-17T17:39:34Z"
tags: ["EXT", "Flex"]
categories: ["Web前端"]
slug: "sencha-touch-ext-panel"
draft: false
lastmod: "2011-02-17T17:39:34Z"
id: 909158
url: "https://junjun16818.iteye.com/blog/909158"
---

```
var panel = new Ext.Panel({
                        fullscreen: true,  //全屏
                        id: 'main_panel', 
                        scroll: 'vertical',
                        layout: {
                            type: 'vbox',
                            align: 'stretch'
                        },
                        defaults: {
                            flex: 2
                        },
                        //activeItem:
                        
                        items: [getTabPanel()],
                        dockedItems: [{
                            xtype: 'toolbar',
                            dock: 'top',
                            title: 'test'
                        }, getNavigation().show()]
                    
                    });
```

 

目前没什么可写的  以后补上