mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Tooltip and Combobox bugs with Breeze / Dark theme
setStyleSheet was overriding default tooltip theme from the system, causing themes like Breeze to render white text on a grey bg for tooltips. Tooltips now render default for the system theme everywhere. set a theme matching color on the dark theme comboboxes. fixes #118
This commit is contained in:
parent
fcaec0d099
commit
8b8b844bda
4 changed files with 12 additions and 2 deletions
|
@ -78,9 +78,11 @@ TypingDisplay {
|
|||
|
||||
CommunitiesList,
|
||||
CommunitiesList > * {
|
||||
border-style: none;
|
||||
background-color: #2d3139;
|
||||
}
|
||||
|
||||
|
||||
FlatButton {
|
||||
qproperty-foregroundColor: #727274;
|
||||
qproperty-backgroundColor: #333;
|
||||
|
@ -193,6 +195,10 @@ UserSettingsPage {
|
|||
background-color: #202228;
|
||||
}
|
||||
|
||||
#UserSettingScrollWidget > QComboBox {
|
||||
color: #202228;
|
||||
}
|
||||
|
||||
Avatar {
|
||||
qproperty-textColor: white;
|
||||
qproperty-backgroundColor: #2d3139;
|
||||
|
|
|
@ -78,6 +78,7 @@ RoomList > * {
|
|||
|
||||
CommunitiesList,
|
||||
CommunitiesList > * {
|
||||
border-style: none;
|
||||
background-color: #2e3649;
|
||||
}
|
||||
|
||||
|
|
|
@ -124,6 +124,11 @@ RoomInfoListItem, UserMentionsWidget {
|
|||
qproperty-bubbleFgColor: palette(text);
|
||||
}
|
||||
|
||||
CommunitiesList,
|
||||
CommunitiesList > * {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
CommunitiesListItem {
|
||||
qproperty-highlightedBackgroundColor: palette(highlight);
|
||||
qproperty-hoverBackgroundColor: palette(light);
|
||||
|
|
|
@ -16,8 +16,6 @@ CommunitiesList::CommunitiesList(QWidget *parent)
|
|||
sizePolicy.setVerticalStretch(1);
|
||||
setSizePolicy(sizePolicy);
|
||||
|
||||
setStyleSheet("border-style: none;");
|
||||
|
||||
topLayout_ = new QVBoxLayout(this);
|
||||
topLayout_->setSpacing(0);
|
||||
topLayout_->setMargin(0);
|
||||
|
|
Loading…
Reference in a new issue