Skip to content
Snippets Groups Projects
Commit cd4b2d0e authored by Garrett Bates's avatar Garrett Bates
Browse files

Fixed minor graphical bug in selected dates in calendar which made them difficult to read

parent cb1beaf3
No related branches found
No related tags found
1 merge request!3Main UI and miscellaneous associated widgets
...@@ -47,7 +47,7 @@ class CalendarWidget(QtWidgets.QCalendarWidget): ...@@ -47,7 +47,7 @@ class CalendarWidget(QtWidgets.QCalendarWidget):
painter.save() painter.save()
if self.showDayOfYear(): if self.showDayOfYear():
color = QtGui.QColor('red') color = QtGui.QColor('red') if date != self.selectedDate() else QtGui.QColor('white')
font = painter.font() font = painter.font()
font.setPointSize(font.pointSize() * 0.9) font.setPointSize(font.pointSize() * 0.9)
painter.setFont(font) painter.setFont(font)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment