1
0
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:
anthony.bilinski 2017-10-20 11:12:29 -07:00
parent 6d1b1f62ab
commit b1f40decd8
4 changed files with 9 additions and 6 deletions

View File

@ -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>

View 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);

View File

@ -49,12 +49,6 @@ QPushButton
background: white;
}
QToolTip
{
color: black;
background: #ffffdc;
}
QGroupBox
{
color: black;

7
ui/window/general.css Normal file
View File

@ -0,0 +1,7 @@
QToolTip
{
/* explicit border width is required https://bugreports.qt.io/browse/QTBUG-41313 */
border: 0px;
color: black;
background: #ffffdc;
}