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

QComboBox stylesheet breaks it.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.0
    • Widgets: Style Sheets
    • None
    • All

    Description

      When i apply the flowing qss to QComboBox the checked item becomes huge:

      typeComboBox->setStyleSheet("QComboBox::item:checked { font-weight: bold; }");

      or

      typeComboBox->setStyleSheet("QComboBox::item:checked { font-weight: italic; }");

       

      It affects all versions I have tested > 5.12

      I am sending a simple illustration program based on "Combo Widget Mapper Example" along with a screenshot.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            rumen Rumen Bogdanovski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes