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

Excessive MenuItem width in Fusion style

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes