Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-131013

Widgets Designer: Grid not visible in dark mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P5: Not important
    • None
    • 6.8.1
    • Tools: Designer
    • 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?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes