Drawer partially visible when closed
-
I want to have a Drawer or Drawer-like control in my application but when it's "closed" I want it to be partially visible.
For instance imagine my drawer is a panel of 100 pixels when closed and then gets 200 pixels when opened.
I'm trying to do that with a Drawer control but not able to do it. Can someone give me a clue of which control can I use.
Thanks.
-
hi,
i'm not 100% sure this is it : https://code.woboq.org/qt5/qtquickcontrols2/src/quicktemplates2/qquickdrawer.cpp.html -
I implemented it by using a Popup control with two states expanded and collapsed and changing the modal property so that when is collapsed it is not modal and when is expanded is modal. Also I added a transition animation.
The only thing I am missing is the "drag" feature...I am sure it can be done but is a bit more complex and probably I will not need this feature.