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

Forums

OverviewFelgo 2 Support (Qt 5) › NavigationItem icon color

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

    Valentin

    Is it possible to change the on/off color of the navigationItem icon?

    #24452

    Alex
    Felgo Team

    Hi Valentin,

    the text and icon of a NavigationItem share the same colors. In case of using a tabbed navigation, have a look at:

    Theme.navigationTabBar.titleColor
    Theme.navigationTabBar.titleOffColor
    Theme.navigationTabBar.titlePressedColor
    Theme.navigationTabBar.titleDisabledColor

    and in case of a drawer navigation:

    Theme.navigationAppDrawer.activeTextColor
    Theme.navigationAppDrawer.textColor
    Theme.navigationAppDrawer.selectedTextColor
    Theme.navigationAppDrawer.titleDisabledColor

    It is currently not possible to use different colors for text and icon. If that is what you are looking for, let me know and we’ll add it to our roadmap.

    Best,
    Alex

    #24455

    Valentin

    Ok thanks a lot.

    I have evaluated this topic further, just in case!

    If I am using Navigation(Tab Mode on all Plattforms), I have to change the color via:

    Theme.navigationTabBar.titleColor
    Theme.navigationTabBar.titleOffColor

    this affects both title and icon.

     

    After replacing the Navigation Element with the TabControl,
    “Theme.navigationTabBar.titleColor” and “Theme.navigationTabBar.titleOffColor”
    only affects the color of the icon.
    To change the color of the title I had to set the property “titleColor” and “titleOffColor” inside the TabControl

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