Skip to content

Commit 3d21e88

Browse files
committed
Add stage size option
1 parent 8647bdd commit 3d21e88

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

src/app/qml/dialogs/ProjectSettingsDialog.qml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,41 @@ CustomDialog {
5656
checked: !projectPlayer.spriteFencing
5757
onCheckedChanged: projectPlayer.spriteFencing = !checked
5858
}
59+
60+
// Experimental
61+
Label {
62+
text: qsTr("Experimental")
63+
font.pointSize: 14
64+
font.bold: true
65+
}
66+
67+
RowLayout {
68+
Label {
69+
text: qsTr("Custom stage size")
70+
}
71+
72+
SpinBox {
73+
editable: true
74+
from: 20
75+
to: 1920
76+
stepSize: 20
77+
value: projectPlayer.stageWidth
78+
onValueChanged: projectPlayer.stageWidth = value
79+
}
80+
81+
Label {
82+
text: "×"
83+
font.pointSize: 16
84+
}
85+
86+
SpinBox {
87+
editable: true
88+
from: 20
89+
to: 1080
90+
stepSize: 20
91+
value: projectPlayer.stageHeight
92+
onValueChanged: projectPlayer.stageHeight = value
93+
}
94+
}
5995
}
6096
}

0 commit comments

Comments
 (0)