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

Excessive MenuItem width in Fusion style

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.0
    • 5.12.4
    • Widgets: Styles
    • None
    • All
    • b01e69684b9b36492cc43472edeb72058be9f706

    Description

      The width of MenuItems under the Fusion style is excessive, especially if checkboxes, icons or shortcuts are present:

       

      I've traced it to the fact that the sizeFromContents() implementation in QFusionStyle first calls QCommonStyle::sizeFromContents(), and then adds all the margins once again. I'll provide a patch soon.

      Attachments

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

        Activity

          People

            mardy Alberto Mardegan
            mardy Alberto Mardegan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes