mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
feat(datetime):change text color to BrightText
This commit is contained in:
parent
96d4bc9b75
commit
0a033a3f60
@ -132,6 +132,7 @@ void DatetimeWidget::paintEvent(QPaintEvent *e)
|
||||
format = "hh:mm AP";
|
||||
|
||||
painter.setFont(m_timeFont);
|
||||
painter.setPen(QPen(palette().brightText(), 1));
|
||||
|
||||
if (rect().height() >= SHOW_DATE_MIN_HEIGHT) {
|
||||
QRect timeRect = rect();
|
||||
|
Loading…
x
Reference in New Issue
Block a user