Important: Please read the Qt Code of Conduct -

Swipe to close a Drawer

  • 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.

  • 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.

Log in to reply