There was an error while loading. Please reload this page.
windowResizable
1 parent 24d3089 commit 6a895e0Copy full SHA for 6a895e0
1 file changed
orx-jvm/orx-gui/src/main/kotlin/WindowedGUI.kt
@@ -14,6 +14,7 @@ class WindowedGUI(
14
val defaultStyles: List<StyleSheet> = defaultStyles(),
15
val windowClosable: Boolean = false,
16
val windowAlwaysOntop: Boolean = false,
17
+ val windowResizable: Boolean = false,
18
) : Extension {
19
override var enabled: Boolean = true
20
val gui: GUI = GUI(appearance, defaultStyles)
@@ -51,6 +52,7 @@ class WindowedGUI(
51
52
alwaysOnTop = windowAlwaysOntop,
53
width = appearance.barWidth,
54
height = program.height,
55
+ resizable = windowResizable,
56
position = program.window.position.toInt() - IntVector2(200, 0)
57
)
58
) {
0 commit comments