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

Be able to specify if a vertical Drawer is placed over the header/footer or under/over it

    XMLWordPrintable

Details

    Description

      Be able to specify if a Drawer item is placed over the header/footer or under/over it. If the edge is set to be TopEdge then it would be nice to be able to indicate that it should be under any header for the ApplicationWindow rather than over the top of it.

      import QtQuick 2.5
      import QtQuick.Layouts 1.1
      import QtQuick.Controls 2.0
      
      ApplicationWindow {
          id: window
          visible: true
          width: 640
          height: 480
      
          header: ToolBar {
              RowLayout {
                  ToolButton {
                      text: "Test"
                  }
                  ToolButton {
                      text: "Test"
                  }
                  ToolButton {
                      text: "Test"
                  }
                  ToolButton {
                      text: "Test"
                  }
              }
          }
      
          Drawer {
              width: window.width
              height: 200
              edge: Qt.TopEdge
          }
      }
      

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            andysh Andy Shaw
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes