You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I posted in this discord but was recommended to start an issue here so it doesn't get lost.
If you want to have a QOverlay behind a QMenu that's a direct child of a QBtn, rather than wrapping the QOverlay around QMenu, keep it separate, and update the QOverlay's model from the QMenu's events.
Put the QOverlayoutside of the QBtn (do not wrap it around QMenu).
I posted in this discord but was recommended to start an issue here so it doesn't get lost.
If you want to have a
QOverlay
behind aQMenu
that's a direct child of aQBtn
, rather than wrapping theQOverlay
aroundQMenu
, keep it separate, and update theQOverlay
's model from theQMenu
's events.Put the
QOverlay
outside of theQBtn
(do not wrap it aroundQMenu
).And use
before-show
andbefore-hide
on theQMenu
to set theQOverlay
's model:That way the
QMenu
can remain a direct child ofQBtn
.The text was updated successfully, but these errors were encountered: