Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to disable Drawer dim?
Forum Updated to NodeBB v4.3 + New Features

How to disable Drawer dim?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 1 Posters 888 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Dmitiy TyuginD Offline
    Dmitiy TyuginD Offline
    Dmitiy Tyugin
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • Dmitiy TyuginD Offline
      Dmitiy TyuginD Offline
      Dmitiy Tyugin
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved