Add comment about anchors.centerIn
This commit is contained in:
parent
e5da308218
commit
2f603817f6
|
@ -6,6 +6,7 @@ Controls.Dialog {
|
|||
modal: true
|
||||
focus: true
|
||||
parent: applicationWindow().overlay
|
||||
//anchors.centerIn: parent // enable if requiring at least Qt 5.12 instead of setting x and y manually
|
||||
x: (parent.width - width) / 2
|
||||
y: (parent.height - height) / 2
|
||||
width: Math.min(parent.width, Kirigami.Units.gridUnit * 30)
|
||||
|
|
Loading…
Reference in New Issue