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

ApplicationWindow: toolbar draws before contents, allowing contents to draw over it

    XMLWordPrintable

Details

    • 1125a07c68b9727899f4a1fc54277ea02a79c39e

    Description

      Demonstrated below. There's a toolbar there, but it's drawn beneath the red rectangle.

      import QtQuick 2.1
      import QtQuick.Controls 1.0
      
      ApplicationWindow {
        width: 640
        height: 480
      
        toolBar: ToolBar {
          ToolButton {
            anchors.verticalCenter: parent.verticalCenter
            text: 'Button'
          }
        }
      
        Rectangle {
          y: -200
          width: parent.width
          height: 1000
      
          color: 'red'
        }
      }
      

      Attachments

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

        Activity

          People

            bachewii Jens
            jfaust Josh Faust
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes