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

QMdiSubWindow title bar height incorrect when using QProxyStyle with QMacStyle

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • None
    • 5.2.0 Beta1
    • GUI: Window management
    • None
    • b4bb70973328d251ecf33ec58722bdb5d32366ed

    Description

      When using a QProxyStyle with QMacStyle as the base style, the title bar height of QMdiSubWindow is incorrect. There's an existing hack to adjust the incorrect height provided by QMacStyle, but the hack doesn't account for QProxy style. The attached patch fixes the issue for me.

      Attachments

        1. patch.diff
          1.0 kB
        2. sample.cpp
          0.9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            jasonhaslam Jason Haslam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes