Closed exp111 closed 6 years ago
Not sure if this belongs here.
As long as you don't provide any link to the theme, nobody can say for sure.
Using DarkenTS.
The Font color gets set like this:
QTreeView::item:selected:active, QTreeView::item:selected:!active { background-color: rgb(62,79,94); color: rgb(216,216,216); }
and
QWidget { font-family: "Segoe UI", Arial, sans-serif; color: rgb(216,216,216); }
The ServerView Rows are probably not QWidgets or smth.
That's how it looks in my client with DarkenTS.
I see what you mean, but I'm not that experienced with CSS/Stylesheets and don't know, why the Stylesheet is not applied to it respectively only applied "half".
The problem is that you draw with your paint function (in ServerviewDelegate) over the things. A (probably dirty) fix is removing the painter.setPen & painter.setFont calls in the paint function.
Edit: Proper Fix: Don't default to white and only change if brush/font exists. Get the font not from QApplication.font(), but rather from the serverView/tabWidget.
Channel & Client Names are black. Spacers are white though.