mirror of
https://port.numenaute.org/aleajactaest/khanat-client.git
synced 2024-11-14 11:19:10 +00:00
7 lines
250 B
GDScript
7 lines
250 B
GDScript
extends GridContainer
|
|
|
|
func _on_items_box_resized():
|
|
var inventory_window = self.find_parent("inventory_window")
|
|
if inventory_window:
|
|
var nb_columns = ( inventory_window.get_size().x - 32 ) / 32
|
|
self.set_columns( nb_columns )
|