mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-24 00:18:13 +02:00
Patches to add support for dark themes
This commit is contained in:
parent
7a035a9a1f
commit
d60f272b74
@ -158,11 +158,11 @@ void WallClock::tickClock()
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
p.fillRect(0,0,width(),height(),backgroundColor());
|
p.fillRect(0,0,width(),height(),backgroundColor());
|
||||||
|
p.setPen(QColor(system_button_text_color));
|
||||||
}
|
}
|
||||||
//p.eraseRect(0,0,width(),height());
|
//p.eraseRect(0,0,width(),height());
|
||||||
// p.setPen(color1);
|
// p.setPen(color1);
|
||||||
// p.setBrush(color1);
|
// p.setBrush(color1);
|
||||||
p.setPen(QColor(system_button_text_color));
|
|
||||||
p.setFont(label_font);
|
p.setFont(label_font);
|
||||||
p.drawText((sizeHint().width()-p.fontMetrics().width(date))/2,22,date);
|
p.drawText((sizeHint().width()-p.fontMetrics().width(date))/2,22,date);
|
||||||
p.setFont(time_font);
|
p.setFont(time_font);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user