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

[Reg] QPalette:setColor white always draws black

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 6.3.0
    • Widgets: Styles
    • None
    • Windows

    Description

      Updated from 6.0 to 6.3 and noticed that the text colour was not white anymore.

      QPalette::setColor(QPalette::Text, Qt::white);
      QPalette::setColor(QPalette::Text, QColor(255, 255, 255));
      

      These will both result in the text rendering black

      setColor(QPalette::Text, QColor(255, 254, 255));
      

      This will result in the text being drawn white (well almost, 254 instead of 255 )

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            eejin Stijn Herfst
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes