Patches to add support for dark themes

This commit is contained in:
Daniel Bair 2014-12-03 11:32:12 +07:00
parent 7a035a9a1f
commit d60f272b74

View File

@ -158,11 +158,11 @@ void WallClock::tickClock()
}
else {
p.fillRect(0,0,width(),height(),backgroundColor());
p.setPen(QColor(system_button_text_color));
}
//p.eraseRect(0,0,width(),height());
// p.setPen(color1);
// p.setBrush(color1);
p.setPen(QColor(system_button_text_color));
p.setFont(label_font);
p.drawText((sizeHint().width()-p.fontMetrics().width(date))/2,22,date);
p.setFont(time_font);