Remove Drawer Overlay
Unsolved
QML and Qt Quick
-
Is there a way for me to remove the overlay that a Drawer opens up? My goal is to be able to get it to push the current view to the side when it is expanded, which I can accomplish with a transform Translate on my StackView.
I saw on this post that I could probably change the Overlay properties, but I get a non-existent attached object error if I do something like:
Overlay.modal: Rectangle { color: "#00000000" }
If there's no way around this, I think I could use Popup since Drawer inherits from Popup, but I am not sure how to implement or customize it so that it functions the same way Drawer does expect for adding an overlay when it is open. This is what my current Drawer looks like:
Drawer { id: drawer width: Math.min(window.width, window.height) / 3 * 1.5 height: window.height interactive: stackView.depth === 1 background: Rectangle { anchors.fill: parent color: "blue" } ...