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

QComboBox: text alignment is ignored with specific styles

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.3
    • None
    • Linux/X11, macOS

    Description

      Let's assume we have a list model which Qt::TextAlignmentRole is Qt::AlignCenter.
      Set model to QComboBox.

      Result: alignment ignored (except when QStyleFactory::create("windows") style used) .

      Attached example and screenshots

      Attachments

        For Gerrit Dashboard: QTBUG-76009
        # Subject Branch Project Status CR V

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            pavloshyba Pavlo Shyba
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes