Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Set Y property to a Drawer (MenuDrawer). (Bug?)
Qt 6.11 is out! See what's new in the release blog

Set Y property to a Drawer (MenuDrawer). (Bug?)

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 796 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.
  • carles.sole.grauC Offline
    carles.sole.grauC Offline
    carles.sole.grau
    wrote on last edited by
    #1

    Hi everyone,
    I found in this link the following info:

    "Drawer can be configured to cover only part of its window edge. The following example illustrates how Drawer can be positioned to appear below a window header:

    import QtQuick 2.7
    import QtQuick.Controls 2.0
    
    ApplicationWindow {
        id: window
        visible: true
    
        header: ToolBar { }
    
        Drawer {
            y: header.height
            width: window.width * 0.6
            height: window.height - header.height
        }
    }
    
    

    Qt Doc Link Here!

    But It seems is not working. Could it be a Bug? Is there any other way to get that?

    Thank you very much.

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! The docs you're refering to belong to the Qt 5.7.1 development branch. The feature is not available in 5.7.0, see latest released docs.

      1 Reply Last reply
      2

      • Login

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