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

Menu items visible property isn't work correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.12.5, 5.13.2, 5.14.0 Beta2
    • Quick: Controls 2
    • None

      When you create Menu, and set any item visible to false, this item won't be draw, but the height which occupies this element, will not be free.

      I attach small qml code and screenshot, where you can see what happened.

      Expected result:
      if the MenuItem or Separator isn't drawn, it should free the height.

        1. gallery.qml
          3 kB
          Igor Bugaev
        2. Screenshot 2019-11-06 at 14.01.59.png
          203 kB
          Igor Bugaev
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            freed Igor Bugaev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes