sencha touch 2 でタブバーの位置が一番上にあると、タブパネルバーで iconCls が機能しないのはなぜですか?
タブバーの位置が下の場合は正常に動作します。タブバーの位置が一番上だと動かないのはなぜですか?
Ext.create('Ext.TabPanel', {
fullscreen: true,
tabBarPosition: 'top',
defaults: {
styleHtmlContent: true
},
items: [
{
title: 'Home',
iconCls: 'home',
html: 'Home Screen'
},
{
title: 'Contact',
iconCls: 'user',
html: 'Contact Screen'
}
]
});
上記のコードの出力:
Ext.create('Ext.TabPanel', {
fullscreen: true,
tabBarPosition: 'bottom',
defaults: {
styleHtmlContent: true
},
items: [
{
title: 'Home',
iconCls: 'home',
html: 'Home Screen'
},
{
title: 'Contact',
iconCls: 'user',
html: 'Contact Screen'
}
]
});
上記のコードの出力:
トップポジションで機能しないのはなぜですか?