1

Hi is there a way to customize the dimming effect of the Popup when modal === true? I want the surrounding area of the Popup to be dimmed more.

pooya13
  • 2,060
  • 2
  • 23
  • 29

1 Answers1

3

You can customize the dimming effect by overriding the Overlay.modal attached property. See the docs here

Popup {
    id: popup
    width: 400
    height: 400
    modal: true
    visible: true

    Overlay.modal: Rectangle {
        color: "#aacfdbe7"  // Use whatever color/opacity you like
    }
}
JarMan
  • 7,589
  • 1
  • 10
  • 25