Results 1 to 3 of 3

Thread: icons on tabbar docked on the top of a tabpanel

  1. #1
    Sencha Premium Member VDP's Avatar
    Join Date
    Feb 2012
    Location
    Niel, Belgium
    Posts
    93
    Answers
    3
    Vote Rating
    13
      0  

    Default Answered: icons on tabbar docked on the top of a tabpanel

    Hi! When I have tabpanel with the property tabBarPosition: 'bottom' I get nice icons with centered text below. Now if I set tabBarPosition to top, I only get the text. Is there an easy way to keep the icons (same layout as docked bottom).

  2. This is controlled by CSS. When it is docked to the bottom, the tabbar gets the CSS x-docked-bottom which then has some rules to give the icon <span> a size and such.

  3. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,894
    Answers
    3970
    Vote Rating
    1327
      0  

    Default

    This is controlled by CSS. When it is docked to the bottom, the tabbar gets the CSS x-docked-bottom which then has some rules to give the icon <span> a size and such.
    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

  4. #3
    Sencha User
    Join Date
    Nov 2012
    Location
    London
    Posts
    19
    Vote Rating
    0
      0  

    Default

    Thanks... but how can we change this with css in order to make it behaving like the docked bottom?!

Posting Permissions

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