Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Moved] highlighting the icon
Kewal last edited by
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?
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.
goetz last edited by
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.