PDA

View Full Version : [OPEN] tabBarPosition problem



MattUCG
14 Oct 2011, 4:42 AM
I am using a TabPanel with two tabs. If either of the tabs extends Ext.List or contains any child items, the tabs will no longer dock at the bottom. Uncommenting the one commented line will demonstrate the issue.


Ext.define('ArticleList', {
extend: 'Ext.Panel',

config: {
title: 'DEFAULT',
html: 'test',
//items: [ {html: 'item1'}, {html: 'item2'} ]
},
});

var recentArticleList = Ext.create('ArticleList', {iconCls: 'time', title: 'Recent'});
var toolsArticleList = Ext.create('ArticleList', {iconCls: 'settings', title: 'Tools'});

Ext.application({
name: 'Sencha',

launch: function () {
this.tabPanel = Ext.create("Ext.TabPanel", {
fullscreen: true,
tabBarPosition: 'bottom',
});

this.tabPanel.add(recentArticleList);
this.tabPanel.add(toolsArticleList);
}
});

TommyMaintz
14 Oct 2011, 7:23 AM
We will investigate this issue. I've opened a ticket for it.