You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem or limitation you are having in your project
Grid fills horizontally first.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Add a property that tells grid to change the fill order from horizontal-first (row-based) to vertical-first (column-based).
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
grid.vertical = true
If this enhancement will not be used often, can it be worked around with a few lines of script?
It will be used often, but... using VBoxContainers inside a HBoxContainer is the obvious workaround and requires only one extra loop to break between vertical fills. If number of rows changes dynamically, however, it gets a bit more messy.
Is there a reason why this should be core and not an add-on in the asset library?
It doesn't add significant bulk to the core object for a feature that will likely see a lot of use.
The text was updated successfully, but these errors were encountered:
An amusing workaround idea, indeed... but only if you don't mind the first cell being in the upper right or lower left. Unless you apply -1 scaling as well to the proper axis. I toyed with that out of curiosity but found that duplicating an object (in the editor) not only resets the rotation and scaling on the duplicated object, it resets it on the original as well. Weird. That's probably another bug for another day.
Describe the project you are working on
Multiplayer lobby for Sendit Soccer.
Describe the problem or limitation you are having in your project
Grid fills horizontally first.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Add a property that tells grid to change the fill order from horizontal-first (row-based) to vertical-first (column-based).
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
grid.vertical = true
If this enhancement will not be used often, can it be worked around with a few lines of script?
It will be used often, but... using VBoxContainers inside a HBoxContainer is the obvious workaround and requires only one extra loop to break between vertical fills. If number of rows changes dynamically, however, it gets a bit more messy.
Is there a reason why this should be core and not an add-on in the asset library?
It doesn't add significant bulk to the core object for a feature that will likely see a lot of use.
The text was updated successfully, but these errors were encountered: