Edit of asset "Max Size Container" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Max Size Container | Max Size Container |
Description |
A custom Container node for Godot Egine 3.x, to limit the size of children nodes. All Control nodes have a rect_min_size property, but they lack the rect_max_size. The MaxSizeContainer aims at solving this issue. To be limited in size, a Control node must be child of a MaxSizeContainer. INSTRUCTIONS: - From the editor, press Add a new node, and select MaxSizeContainer. Note: to add the Container from script, you must use this code: var MaxSizeContainer = preload("res://addons/MaxSizeContainer/max_size_container.gd") add_child(MaxSizeContainer.new()) - Add any Control node as a child of MaxSizeContainer. Note: only one (1) child is supported - Select the maximum size, and how you want the child node aligned when it reaches the maximum size. (-1 means no limit) |
A custom Container node for Godot Egine 3.x, to limit the size of children nodes. All Control nodes have a rect_min_size property, but they lack the rect_max_size. The MaxSizeContainer aims at solving this issue. To be limited in size, a Control node must be child of a MaxSizeContainer. INSTRUCTIONS: - From the editor, press Add a new node, and select MaxSizeContainer. Note: to add the Container from script, you must use this code: var MaxSizeContainer = preload("res://addons/MaxSizeContainer/max_size_container.gd") add_child(MaxSizeContainer.new()) - Add any Control node as a child of MaxSizeContainer. Note: only one (1) child is supported - Select the maximum size, and how you want the child node aligned when it reaches the maximum size. (-1 means no limit) |
Category | 2D Tools | 2D Tools |
License | MIT | MIT |
Repository Provider | GitHub | GitHub |
Repository Url | https://github.com/MattUV/godot-MaxSizeContainer/ | https://github.com/MattUV/godot-MaxSizeContainer/ |
Issues Url | https://github.com/MattUV/godot-MaxSizeContainer/issues | https://github.com/MattUV/godot-MaxSizeContainer/issues |
Godot version | Godot 3.4 | Godot 3.4 |
Version String | 1.0 | 1.0 |
Download Commit | 20ec65138f66c2b1fa6d646537326d36a18f6666 | 20ec65138f66c2b1fa6d646537326d36a18f6666 |
Download Url (Computed) | https://github.com/MattUV/godot-MaxSizeContainer/archive/20ec65138f66c2b1fa6d646537326d36a18f6666.zip | https://github.com/MattUV/godot-MaxSizeContainer/archive/20ec65138f66c2b1fa6d646537326d36a18f6666.zip |
Icon Url |
https://raw.githubusercontent.com/MattUV/godot-MaxSizeContainer/master/icon.png
|
https://raw.githubusercontent.com/MattUV/godot-MaxSizeContainer/master/icon.png
|
Preview Insert | ||
---|---|---|
Type | video | |
Image/Video URL |
https://raw.githubusercontent.com/MattUV/godot-MaxSizeContainer/master/readme_files/demo.gif
|
|
Thumbnail |
|
Preview Insert | ||
---|---|---|
Type | image | |
Image/Video URL |
https://raw.githubusercontent.com/MattUV/godot-MaxSizeContainer/master/readme_files/main_fun.png
|
|
Thumbnail |
|
Preview Insert | ||
---|---|---|
Type | image | |
Image/Video URL |
https://raw.githubusercontent.com/MattUV/godot-MaxSizeContainer/master/readme_files/tree_and_inspector_fun.png
|
|
Thumbnail |
|