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. Swipe to close a Drawer
Forum Update on Monday, May 27th 2025

Swipe to close a Drawer

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 1 Posters 460 Views
  • 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.
  • G Offline
    G Offline
    Garygumdrops
    wrote on last edited by
    #1

    Hi

    Is there an obvious way to close a Drawer without selecting an item in the list (assuming it contains a ListView)?

    I have a ListView with just a few items that don't take up all the vertical space and there is no way to cancel close it without selecting an item in the list. I thought a left swipe might work or clicking an empty area in the Drawer.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      Garygumdrops
      wrote on last edited by
      #2

      I can answer this myself already lol. I had set the interactive property true for some reason and this was preventing a left-swipe to close the Drawer.

      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