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

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

      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.

        1. qtbug_80506.zip
          386 kB
          Tuomas Vaarala
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes