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

Stylesheet: When specifying a color for a non-editable combobox to use specifically for the hover and/or active states then it does not change the text color when Vista or Mac style is used as the base

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.5.3, 4.6.2
    • Widgets: Style Sheets
    • None
    • Vista and Mac style specific
    • macOS

    Description

      Stylesheet: When specifying a color for a non-editable combobox to use specifically for the hover and/or active states then it does not change the text color when Vista or Mac style is used as the base.

      To reproduce use the following stylesheet for a combobox in Qt Designer:

      QComboBox:!editable:active {color: red; }
      QComboBox:!editable:hover {color: red; }
      

      This works with other styles and with editable comboboxes.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes