How to disable Drawer dim?



  • I have a problem with disabling drawer dim (grey background that appears when drawer is open). Can I disable it fully somehow?

    import QtQuick 2.7
    import QtQuick.Controls 2.0
    
    ApplicationWindow {
          id: window
          width: 1080/3
          height: 1920/3
          visible: true
    
          Drawer {
              id: drawer
              width: parent.width
              height: window.height*0.4
              edge: Qt.BottomEdge
              dragMargin: 20
              dim: false
              modal: false
              Rectangle{
                  anchors.fill: parent
                  color: "red"
              }
          }
      }
    

    0_1487968646998_upload-5cfe1821-8d30-40a8-8c50-cf02a601708d



  • Seems a bug in Qt 5.7. Solution is update to 5.8


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.