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 16:47:03 -0600
commit605873fa388a9b092baa495c3c8bbfee3902719c (patch)
tree5bef289343666dd60a2cc5fa99b22b972e017e63 /scenes
parent68bfe8975892971b8e61843c521ffac693608540 (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")]