mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Fix low contrast of text in settings tooltip (#4188)
This commit is contained in:
parent
9d1b8b0a93
commit
b3e400a049
3 changed files with 8 additions and 9 deletions
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue