-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge H and V BoxContainer functionality into ListContainer #28779
Comments
Is it just me, or are HBoxContainer and VBoxContainer extremely easy to mix up? I always end up adding for the wrong node. This would add another step to making a HBoxContainer, but that isn't that bad. |
current HBox and VBox are easily distinguishable in scene tree dock by its node icon. |
IMO there's no need to change the name. BoxContainer is fine, as that's how it's called in other GUIs (or at least in Java). |
Merging both classes together would make #36040 easier to implement, but reduz was against it last time I asked. |
Closing the issue in favor of this proposal, which covers it: godotengine/godot-proposals#3558 |
Currently we have two nodes providing identical functionality for sorting control nodes in a list. H and Y BoxContainer respectively. Both extend BoxContainer.
The idea would be to take the opportunity for breaking changes in 4.0, and merge both of these nodes into one: ListContainer. With a simple bool to flip between H and Y.
This would also allow for swapping the behavior on the fly, which could be pretty cool.
The text was updated successfully, but these errors were encountered: