[Interest] Stylesheet with rgb() property
Etienne Sandré-Chardonnal
etienne.sandre at m4x.org
Sun Dec 22 18:39:14 CET 2013
Dear all,
I cannot manage to set a color property in a stylesheet with the rgb()
method.
Setting:
QMenuBar::item:selected
{
background: transparent;
border: 1px solid #8064A2;
}
Works, while:
QMenuBar::item:selected
{
background: transparent;
border: 1px solid rgb(128,100,162);
}
renders blacks.
Any idea? I have searched, and it seems that rgb in qss is common. Using Qt
4.8.1
Thanks,
Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131222/fcab538e/attachment.html>
More information about the Interest
mailing list