Fix low contrast of text in settings tooltip (#4188)

This commit is contained in:
kornes 2022-11-25 09:01:07 +00:00 committed by GitHub
parent 9d1b8b0a93
commit b3e400a049
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 9 deletions

View file

@ -2,6 +2,7 @@
## Unversioned
- Bugfix: Fixed low contrast of text in settings tooltips. (#4188)
- Bugfix: Fixed being unable to see the usercard of VIPs who have Asian language display names. (#4174)
- Bugfix: Fixed the wrong right-click menu showing in the chat input box. (#4177)
- Bugfix: Fixed popup windows not appearing/minimizing correctly on the Windows taskbar. (#4181)

View file

@ -34,6 +34,13 @@ chatterino--SettingsPage #generalSettingsScrollContent {
background: #222;
}
chatterino--SettingsPage QToolTip {
padding: 2px;
background-color: #333333;
border: 1px solid #545454;
color: white;
}
chatterino--PageHeader {
margin-bottom: 12px;
}

View file

@ -18,14 +18,6 @@ const auto MAX_TOOLTIP_LINE_LENGTH_PATTERN =
QStringLiteral(R"(.{%1}\S*\K(\s+))").arg(MAX_TOOLTIP_LINE_LENGTH);
const QRegularExpression MAX_TOOLTIP_LINE_LENGTH_REGEX(
MAX_TOOLTIP_LINE_LENGTH_PATTERN);
const auto TOOLTIP_STYLE_SHEET = QStringLiteral(R"(QToolTip {
padding: 2px;
background-color: #333333;
border: 1px solid #545454;
}
)");
} // namespace
namespace chatterino {
@ -409,7 +401,6 @@ void GeneralPageView::addToolTip(QWidget &widget, QString text) const
}
widget.setToolTip(text);
widget.setStyleSheet(TOOLTIP_STYLE_SHEET);
}
} // namespace chatterino