1
0
Fork 0
ExampleProject/RetroWindowsGUI/RetroWindow.gd

10 lines
164 B
GDScript3
Raw Permalink Normal View History

2024-03-19 07:52:57 +00:00
@tool
extends Control
func _process(_delta):
var par = get_parent()
if par.size.x < size.x:
par.size.x = size.x
if par.size.y < size.y:
par.size.y = size.y