mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(ui): Set tooltip colour and background for all tooltips
Fixes #4667
This commit is contained in:
parent
6d1b1f62ab
commit
b1f40decd8
1
res.qrc
1
res.qrc
|
@ -78,6 +78,7 @@
|
|||
<file>ui/videoButton/videoButton.svg</file>
|
||||
<file>ui/volButton/volButton.css</file>
|
||||
<file>ui/volButton/volButton.svg</file>
|
||||
<file>ui/window/general.css</file>
|
||||
<file>ui/window/statusPanel.css</file>
|
||||
<file>ui/window/window.css</file>
|
||||
<file>ui/chatArea/info.svg</file>
|
||||
|
|
|
@ -2149,6 +2149,7 @@ void Widget::clearAllReceipts()
|
|||
|
||||
void Widget::reloadTheme()
|
||||
{
|
||||
this->setStyleSheet(Style::getStylesheet(":/ui/window/general.css"));
|
||||
QString statusPanelStyle = Style::getStylesheet(":/ui/window/statusPanel.css");
|
||||
ui->tooliconsZone->setStyleSheet(Style::getStylesheet(":/ui/tooliconsZone/tooliconsZone.css"));
|
||||
ui->statusPanel->setStyleSheet(statusPanelStyle);
|
||||
|
|
|
@ -49,12 +49,6 @@ QPushButton
|
|||
background: white;
|
||||
}
|
||||
|
||||
QToolTip
|
||||
{
|
||||
color: black;
|
||||
background: #ffffdc;
|
||||
}
|
||||
|
||||
QGroupBox
|
||||
{
|
||||
color: black;
|
||||
|
|
7
ui/window/general.css
Normal file
7
ui/window/general.css
Normal file
|
@ -0,0 +1,7 @@
|
|||
QToolTip
|
||||
{
|
||||
/* explicit border width is required https://bugreports.qt.io/browse/QTBUG-41313 */
|
||||
border: 0px;
|
||||
color: black;
|
||||
background: #ffffdc;
|
||||
}
|
Loading…
Reference in New Issue
Block a user