Skip to content

Commit

Permalink
Make the CAN databits grid respect the system coloring scheme better
Browse files Browse the repository at this point in the history
  • Loading branch information
collin80 committed Feb 27, 2019
1 parent ce30508 commit 9602754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion candatagrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void CANDataGrid::paintEvent(QPaintEvent *event)
//The left most column has "BYTES" written vertically down it
//the next left most column has "0 1 2 3 4 5 6 7" written down along the grid

painter.setPen(QPen(Qt::black));
painter.setPen(QPen(QApplication::palette().color(QPalette::Text)));
QFont mainFont;
mainFont.setPixelSize(qMin(xSector, ySector) - 10);
painter.setFont(mainFont);
Expand Down

0 comments on commit 9602754

Please sign in to comment.