Use default PopUp close-policy

This commit is contained in:
Christian Muehlhaeuser 2020-02-28 10:51:15 +01:00
parent 3136b936db
commit f2e92deb04
No known key found for this signature in database
GPG key ID: 3CF9FA45CA1EBB7E
4 changed files with 0 additions and 4 deletions

View file

@ -12,7 +12,6 @@ Popup {
width: Math.min(mainWindow.width * 0.8, 600)
height: mainWindow.height * 0.8
anchors.centerIn: mainWindow.overlay
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
Rectangle {
anchors.fill: parent

View file

@ -12,7 +12,6 @@ Popup {
width: Math.min(mainWindow.width * 0.8, 600)
height: mainWindow.height * 0.8
anchors.centerIn: mainWindow.overlay
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
ColumnLayout {
anchors.fill: parent

View file

@ -13,7 +13,6 @@ Popup {
height: Math.min(mainWindow.height * 0.8, layout.implicitHeight + 32)
width: Math.min(mainWindow.width * 0.66, 500)
anchors.centerIn: mainWindow.overlay
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
Flickable {
id: flickable

View file

@ -13,7 +13,6 @@ Popup {
height: Math.min(mainWindow.height * 0.8, layout.implicitHeight + 32)
width: Math.min(mainWindow.width * 0.66, 500)
anchors.centerIn: mainWindow.overlay
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
Flickable {
id: flickable