mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fixed(tooltip):change tooltip text color is brightText
This commit is contained in:
parent
a1334208d7
commit
e1d01f11b5
@ -21,6 +21,7 @@ void TipsWidget::paintEvent(QPaintEvent *event)
|
|||||||
QFrame::paintEvent(event);
|
QFrame::paintEvent(event);
|
||||||
|
|
||||||
QPainter painter(this);
|
QPainter painter(this);
|
||||||
|
painter.setPen(QPen(palette().brightText(), 1));
|
||||||
|
|
||||||
QTextOption option;
|
QTextOption option;
|
||||||
option.setAlignment(Qt::AlignCenter);
|
option.setAlignment(Qt::AlignCenter);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user