summaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
authorZoey Kitt <zoey.kitt@outlook.com>2024-11-16 15:58:14 -0600
committerZoey Kitt <zoey.kitt@outlook.com>2024-11-16 17:27:31 -0600
commit2a1cc7ed4628997e5e1b7299868d955ed2f7344d (patch)
treec7d2e88648a0e68b1781e8cbdd4be282e3b6caa5 /scenes
parent9961be9780edb82021e91d3b1ab75936ccec3c9c (diff)
Resize main window
Diffstat (limited to 'scenes')
-rw-r--r--scenes/main.gd5
-rw-r--r--scenes/main.tscn2
2 files changed, 4 insertions, 3 deletions
diff --git a/scenes/main.gd b/scenes/main.gd
index 1d9c503..b20524b 100644
--- a/scenes/main.gd
+++ b/scenes/main.gd
@@ -7,8 +7,9 @@ func _ready() -> void:
_on_microgame_spawn_timer_timeout()
net_worth = Big.new(1000)
- get_window().position = Vector2(450, 360)
-
+ var window = get_window()
+ window.position = Vector2(450, 360)
+ window.size = Vector2(500, 300)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
diff --git a/scenes/main.tscn b/scenes/main.tscn
index 8e96e8b..e4c993c 100644
--- a/scenes/main.tscn
+++ b/scenes/main.tscn
@@ -28,7 +28,7 @@ autostart = true
stream = ExtResource("3_gatxj")
[node name="Stock ticker window" type="Window" parent="."]
-position = Vector2i(1000, 1000)
+position = Vector2i(1000, 538)
size = Vector2i(1280, 720)
[node name="Stock ticker" parent="Stock ticker window" instance=ExtResource("4_0ankd")]