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

Menu trim items with long text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.7.0 Beta
    • Quick: Controls 2
    • None

      If I place item with long into menu, the menu not resized to contain that item.

      import QtQuick 2.6
      import QtQuick.Controls 2.0
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
      
          Menu {
              x: 100
              y: 100
      
              MenuItem {
                  text: "Test text"
              }
              MenuItem {
                  text: "Test text, that is somewhat longer than background"
              }
              Component.onCompleted: open()
          }
      }
      

        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
            krnekit Nikita Krupenko
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes