pe_la_do
23 Jul 2010, 4:53 AM
Hi guys,
I have two problems.
The first is add a Header above a TabPanel, but the TabPanel is docked at Top. The header is custom class wich extends a common Panel.
The second is view all the content of the TabPanel, but is cut off on the iphone. In safari works well.
var header = new ui.Header({}); // a logo image and a button
var main = new Ext.TabPanel({
fullscreen: true,
type: 'dark',
sortable: false,
animation: 'slide',
items: [{
title: 'Item1',
items: [new Ext.XTemplate.from('item1', {compiled: true});]
},{
title: 'Item2',
items: [new Ext.XTemplate.from('item2', {compiled: true});]
}]
});
new Ext.Panel({
fullscreen: true,
items: [header, main],
layout: 'vbox'
});
Thanks in advance ...
I have two problems.
The first is add a Header above a TabPanel, but the TabPanel is docked at Top. The header is custom class wich extends a common Panel.
The second is view all the content of the TabPanel, but is cut off on the iphone. In safari works well.
var header = new ui.Header({}); // a logo image and a button
var main = new Ext.TabPanel({
fullscreen: true,
type: 'dark',
sortable: false,
animation: 'slide',
items: [{
title: 'Item1',
items: [new Ext.XTemplate.from('item1', {compiled: true});]
},{
title: 'Item2',
items: [new Ext.XTemplate.from('item2', {compiled: true});]
}]
});
new Ext.Panel({
fullscreen: true,
items: [header, main],
layout: 'vbox'
});
Thanks in advance ...