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

QStyleOptionToolBox does not take

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 5.15.6, 6.1.3, 6.2.0 Beta4, 6.2.1
    • Widgets: Styles
    • None
    • All, Windows

    Description

      The label-alignment of QStyleOptionToolBox, if any, is ignored, therefore it is not possible to create a QToolBox with right or centered text.

      <code>

      QToolBoxButton

      { font-size: 16px; font-weight: 600; text-align: center; alignment: center; }

      QToolBox:tab

      { background: rgba(197, 197, 197, 0.21); padding: 6px; text-align: center; qproperty-alignment: AlignCenter; alignment: center; }

      </code>

      output:

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            febbe Fabian Keßler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes