28 Dec 2011 5:53 AM #1
tabBarPosition and toolbar icons - why don't icons show if the position is "top"?
In the introductory example at http://docs.sencha.com/touch/2-0/#!/...etting_started the tabBarPosition is 'bottom'. In that case, the tab icons like 'star' and so on show up.
But if I change tabBarPosition to 'top' the icons don't show up.
Is there a simple thing I can change to have the tabs on top instead of the bottom and also show the icons?
28 Dec 2011 7:30 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You can add CSS to the tabs when they are positioned to the top. We don't do it as native apps don't usually do it.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
28 Dec 2011 7:40 AM #3
Thanks for your reply.
I'm not sure either whether I prefer the tabs at the top or bottom, but on iOS many apps seem to have tabs/selections on the top as well (or top and bottom). But you are right that the ones which use icons for the tabs seem to have them only at the bottom.
Thanks for pointing that out.