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

Forums

OverviewFelgo Installation › NavigationStack background color

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24181

    Helen

    I am working in Qt creator using C++ in qml. For the Navigation Stack, is there a way to change the color of the header and bottom nav bar- from the default blue to match the background?

    And is there a way to change the color of the nav icons?

     

    Thank you!

    #24185

    Filippo

    Hi Helen,

     

    thank you for reaching out to us. You can customize the color of the top and bottom bars changing your main.qml file like this:

     

    App {
    
        // More code here...
    
        onInitTheme: {
            Theme.navigationBar.backgroundColor = "yellow" // change with your favorite color
            Theme.navigationTabBar.backgroundColor = "yellow" // change with your favorite color
        }
    }

     

    Feel free to let us know if you have any other questions.

Viewing 2 posts - 1 through 2 (of 2 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