嗨,有没有办法在modal === true时自定义Popup的调光效果?我希望Popup的周围区域更暗一些。
发布于 2021-04-29 03:49:34
可以通过替代Overlay.modal attached属性来自定义变暗效果。请参阅文档here
Popup {
id: popup
width: 400
height: 400
modal: true
visible: true
Overlay.modal: Rectangle {
color: "#aacfdbe7" // Use whatever color/opacity you like
}
}https://stackoverflow.com/questions/67306940
复制相似问题