Prevent drawer to close by dragging

  • Hi,
    how to prevent drawer to close by dragging in Qml?
    I know that I can prevent to open the drawer by dragging by set the dragMargin to zero but what about closing?

  • Drawer::interactive has been added in Qt Quick Controls 2.2 in Qt 5.9. There's also a simple Side Panel example demonstrating the functionality. You can already give it a try by installing the lastest Qt 5.9 beta for example from the online installer if you're using it.

  • @jpnurmi
    Now I use Qt 5.8.0 what should I do in Qt Quick Control 2.0/2.1 ?

Log in to reply