Forums

OverviewFelgo 2 Support (Qt 5) › HOW TO change the color of AppTabBar

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15518

    Francois

    Hi,

    sorry for the stupid question: how to change the color of AppTabBar ?

     

    Thank you for your help.

     

    Best Regards.

    F.

    #15521

    G├╝nther
    Felgo Team

    Hi Francois!

    Not stupid at all ­čśë

    The AppTabBar uses the colors from the app Theme, see here for a list of available configurations.

    To change theme settings, simply use the onInitTheme signal of the app:

    App {
    
    onInitTheme: {
      Theme.tabBar.backgroundColor = "green"
    }
    
    }

    The default value uses the configured Theme.colors.tintColor, so you can also change the tint-color in case you also want the same color for e.g. buttons or the navigation bar.

    Cheers,
    G├╝nther

     

    #15523

    Francois

    Hi G├╝nther,

     

    Thanks for the tips. This is exactly what I’m looking for….

     

    Best Regards.

    F.

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support