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

QCheckBox with color white don't shows the checkbox indicator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.14.1
    • Fix Version/s: None
    • Component/s: Widgets: Style Sheets
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      If you format a QCheckbox for displaying label text white by css, the checkbox-indicator isn't shown any more.

      QCheckBox {
         color: white;
      }
      

      To style the QCheckbox::indicator explicite, too with

      QCheckBox::indicator {
         color: black;
      }
      

      doesn't solve the problem.

       

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            reha1 Reinhard Hanselmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes