"*prop": "layout",
"items": [
{
- "|xns": "Roo",
+ "*prop": "center",
"xtype": "LayoutRegion",
- "*prop": "center"
+ "|xns": "Roo"
},
{
"listeners": {
- "activate": "function (_self)\n{\n Roo.log(_self);\n \n if(_self.active && _self.view){\n _this.view = this.view;\n }\n}",
- "render": "function (_self)\n{\n _this.bodypanel = _self;\n \n \n}"
+ "activate": "function (_self)\n{\n Roo.log(_self);\n Roo.log(this.el.dom.offsetParent.clientHeight);\n this.el.setHeight(this.el.dom.offsetParent.clientHeight-55);\n Roo.log('active');\n}",
+ "render": "function (_self)\n{\n _this.bodypanel = _self;\n \n Roo.log('render');\n}"
},
"region": "center",
"xtype": "ContentPanel",
"|autoCreate": "true",
"|xns": "Roo",
"items": [
+ {
+ "|xns": "Roo",
+ "xtype": "Toolbar",
+ "*prop": "toolbar",
+ "items": [
+ {
+ "|xns": "Roo.Toolbar",
+ "xtype": "Fill"
+ },
+ {
+ "text": "Reload",
+ "xtype": "Button",
+ "|xns": "Roo.Toolbar"
+ }
+ ]
+ },
{
"*prop": "view",
"emptyText": "no data",
},
{
"*prop": "tpl",
- "html": "<b>test</b>",
"xtype": "Template",
+ "|html": "'<div class=\"thumb-wrap\" > ' + \n \n '{name}'+\n\n'</div>'",
"|xns": "Roo"
},
{
]
}
]
- },
- {
- "|xns": "Roo",
- "xtype": "Toolbar",
- "*prop": "toolbar",
- "items": [
- {
- "text": "ADDDDDDDDDDD",
- "xtype": "Button",
- "|xns": "Roo.Toolbar"
- }
- ]
}
]
}