Merge pull request #125 from adasauce/118-dark-theme-issues

Tooltip and Combobox bugs with Breeze / Dark theme
This commit is contained in:
DeepBlueV7.X 2020-02-20 21:05:26 +01:00 committed by GitHub
commit a8cdc20dd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 2 deletions

View file

@ -78,9 +78,11 @@ TypingDisplay {
CommunitiesList, CommunitiesList,
CommunitiesList > * { CommunitiesList > * {
border-style: none;
background-color: #2d3139; background-color: #2d3139;
} }
FlatButton { FlatButton {
qproperty-foregroundColor: #727274; qproperty-foregroundColor: #727274;
qproperty-backgroundColor: #333; qproperty-backgroundColor: #333;
@ -193,6 +195,10 @@ UserSettingsPage {
background-color: #202228; background-color: #202228;
} }
#UserSettingScrollWidget > QComboBox {
color: #202228;
}
Avatar { Avatar {
qproperty-textColor: white; qproperty-textColor: white;
qproperty-backgroundColor: #2d3139; qproperty-backgroundColor: #2d3139;

View file

@ -78,6 +78,7 @@ RoomList > * {
CommunitiesList, CommunitiesList,
CommunitiesList > * { CommunitiesList > * {
border-style: none;
background-color: #2e3649; background-color: #2e3649;
} }

View file

@ -124,6 +124,11 @@ RoomInfoListItem, UserMentionsWidget {
qproperty-bubbleFgColor: palette(text); qproperty-bubbleFgColor: palette(text);
} }
CommunitiesList,
CommunitiesList > * {
border-style: none;
}
CommunitiesListItem { CommunitiesListItem {
qproperty-highlightedBackgroundColor: palette(highlight); qproperty-highlightedBackgroundColor: palette(highlight);
qproperty-hoverBackgroundColor: palette(light); qproperty-hoverBackgroundColor: palette(light);

View file

@ -16,8 +16,6 @@ CommunitiesList::CommunitiesList(QWidget *parent)
sizePolicy.setVerticalStretch(1); sizePolicy.setVerticalStretch(1);
setSizePolicy(sizePolicy); setSizePolicy(sizePolicy);
setStyleSheet("border-style: none;");
topLayout_ = new QVBoxLayout(this); topLayout_ = new QVBoxLayout(this);
topLayout_->setSpacing(0); topLayout_->setSpacing(0);
topLayout_->setMargin(0); topLayout_->setMargin(0);