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

Inacurate description of color roles for 3D bevel and shadow effects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.3
    • Documentation
    • None

    Description

      The website https://doc.qt.io/qt-5/qpalette.html states that

      Constant Value Description
      QPalette::Light 2 Lighter than Button color.
      QPalette::Midlight 3 Between Button and Light.
      QPalette::Dark 4 Darker than Button.
      QPalette::Mid 5 Between Button and Dark.
      QPalette::Shadow 11 A very dark color. By default, the shadow color is Qt::black.

      In contrast, Mid seems to be between Dark and Shadow (as the ordering suggests) and Shadow isn't black but a very dark color by default (at least on Fusion style and macOS).

      Attachments

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

        Activity

          People

            docinfrastructure Documentation Infrastructure Team
            racoon racoon
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes