Hi,
I'm trying to set my own colors to a QCombobox (ignoring any style) using style sheets in Qt-Designer:
background-color: rgb(0, 0, 0);
selection-color: rgb(0, 0, 0);
selection-background-color: rgb(239, 159, 31);
color: rgb(239, 159, 31);
in Qt-Designer gives me an orange text on black if I select an QComboBox item (Yeah!).
However, when the ComboBox looses the focus, the text of the selected item shown in the ComboBox is a very dark gray on black (black background is OK!).
What is the magic word to set the text color for a QComboBox to the orange color rgb(239, 159, 31) when not having the focus?
I'm struggling for this now for a few days and cannot find the solution. Might have something to do with active/inactive state?
Any help is much appreciated.
Bookmarks