Added a dynamic layout system where UI elements can be moved about on a tiled grid.
This commit is contained in:
1 parent
ea6ba54666
commit
26c29df4ad
34 files changed
+1269
No files matched your search
@@ -0,0 +1,9 @@
|
||||
@tool
|
||||
extends AspectRatioContainer
|
||||
|
||||
func _ready() -> void:
|
||||
resized.connect(_update_height)
|
||||
_update_height()
|
||||
|
||||
func _update_height() -> void:
|
||||
custom_minimum_size.y = ceilf(size.x / ratio)
|
||||
Reference in new issue
Block a user