PDA

View Full Version : tabBarPosition and toolbar icons - why don't icons show if the position is "top"?



douglerner
28 Dec 2011, 5:53 AM
In the introductory example at http://docs.sencha.com/touch/2-0/#!/guide/getting_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?

Thanks,

doug

mitchellsimoens
28 Dec 2011, 7:30 AM
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.

douglerner
28 Dec 2011, 7:40 AM
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.

doug