From f3efe1b3c71667c3a2d83b39f97d5d10bf580521 Mon Sep 17 00:00:00 2001 From: Zoey Kitt Date: Sat, 16 Nov 2024 15:58:14 -0600 Subject: Resize main window --- scenes/main.gd | 5 +++-- scenes/main.tscn | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'scenes') 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")] -- cgit v1.2.3