Unsolved How to customize Popup dimming effect?
-
Hi is there a way to customize the dimming effect of the
Popup
whenmodal === true
? I want the surrounding area of thePopup
to be dimmed more than what the default is. -
@Puya sure
https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-popup
background is the one you'll want to modify
-
@J-Hilk Dimming effect is not related to
background
. I think I need to useOverlay.modal
attached property like so:Popup { ... modal: true Overlay.modal: Rectangle { color: "#aacfdbe7" // color/opacity } }