⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)
TrayIconMenu Color change.
Ketan Shah last edited by
how can i change the background color of trayiconmenu...
i had set my windows background color to white, but its also applying to the trayiconmenu, which I dont want..so how can I avoid this...i want to set the default background color that is blue for the trayiconmenu.
I had also used the trayiconmenu's stylesheet function, but no help from it,its still white..
soroush last edited by
You can specify style of each widget separately. "This":http://doc.qt.nokia.com/latest/stylesheet.html might help you.
Ruzik last edited by
Try it, for example
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #dddddd, stop: 1 #eeeeee);
It may interest you also http://qt-apps.org/content/show.php/Rizek+Qss+Editor?content=142455