Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Show popup outside window in qml
niks_entire last edited by
I am new to Qml and have been using Popup to display a dropdown menu. But when the dimensions of the popup become more than the parent window, the popup gets clipped inside the window. Is there a way to show Popup out of parent window region or should I chose another Ui element to avhieve this?
Bob64 last edited by
@niks_entire I asked something similar recently. Basically this is how popups, dialogs etc. work in QML. If you want a separate window, then you basically have to use the
Windowcomponent and implement it yourself. This is what I did recently when I needed a dialog that was separate from the main window. For a popup menu, I wonder whether you could use
PopupMenuinside your separate
Window(i.e fill the
Windowwith the popup) to benefit from at least some of the built-in functionality.