Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded