Resize main window
This commit is contained in:
parent
9961be9780
commit
2a1cc7ed46
3 changed files with 4 additions and 4 deletions
|
@ -20,7 +20,6 @@ config/icon="res://icon.svg"
|
|||
window/size/viewport_width=1280
|
||||
window/size/viewport_height=720
|
||||
window/subwindows/embed_subwindows=false
|
||||
window/stretch/mode="canvas_items"
|
||||
window/per_pixel_transparency/allowed=true
|
||||
|
||||
[input]
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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")]
|
||||
|
|
Loading…
Add table
Reference in a new issue