Important: Please read the Qt Code of Conduct -

Show popup outside window in qml

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

  • @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 Window component 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 PopupMenu inside your separate Window (i.e fill theWindow with the popup) to benefit from at least some of the built-in functionality.

Log in to reply