Results 1 to 3 of 3

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

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Location
    Tokyo
    Posts
    18
    Vote Rating
    0
      0  

    Default 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?

    Thanks,

    doug

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Location
    Tokyo
    Posts
    18
    Vote Rating
    0
      0  

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •