Important: Please read the Qt Code of Conduct -

[Moved] highlighting the icon

  • I am using a QSS to apply theme for my application, I am able to achieve many things,. now what i am trying to do is to apply an highlight colour for my icon(only icon) in the tool bar button but I am not able to,. can you give me any hints on how to achieve that or direct me where i can find more about it?

  • Moderators

    You've posted this Qt Quick subforum. Is your icon a QML element? If yes, the thing is pretty easy: you can use Qt.lighten(), Qt.darken() and Qt.tint() to manipulate colours.

  • Moved to the General forum and deleted the double post there.

    Please leave a note here, moderators are happy to move a thread to the appropriate forum. Don't open a second thread with the same content. Thanks.

Log in to reply