Details
-
Bug
-
Resolution: Duplicate
-
P5: Not important
-
None
-
6.8.1
-
None
Description
In Dark mode, the 'grid' is not visible on the canvas. This is probably because the code tries to get a 'dark' color:
void Grid::paint(QPainter &p, const QWidget *widget, QPaintEvent *e) const { p.setPen(widget->palette().dark().color()); // ...
Should it be widget->palette().light().color for dark mode?