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

QCommonStyle::subElementRect uses hard-coded value to calculate the SE_HeaderArrow rect, causing the icon to be unnecessarily clipped

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.6.3, 4.7.0
    • GUI: Look'n'Feel
    • None

    Description

      In QCommonStyle::subElementRect, it uses hard-coded value to calculate SE_HeaderArrow rect, and returns a small rect which causes the arrow icon to be clipped.
      It happens when padding or margin or border set to 0px (then the height of the opt.rect will be smaller, then we get even much smaller height after calculation).
      Test program attached.

      Attachments

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

        Activity

          People

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            sanonymous Nokia Qt Support (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