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

[Reg 5.12.0 -> 5.12.6]QMenu does not allocate space for indicator in submenu item when stylesheet is used

    XMLWordPrintable

Details

    • Linux/X11, Windows
    • 97ac281c1d70dcfbb137e5a83e24a747e9510116 (qt/qtbase/5.14)

    Description

      When using stylesheet to style the QMenu and a checkbox indicator it does not allocate space for indicator in the submenu item.

      Steps to reproduce:

      1. Run the attached example project

      Expected result:

      1. The menu item in the menu and submenu looks the same.

      Actual result:

      1. The item in submenu does not allocate space for the indicator and thus the text and the indicator are overlapping each other.

      Attachments

        Issue Links

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

          Activity

            People

              chehrlic Christian Ehrlicher
              tuomas.vaarala Tuomas Vaarala
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes