Search Issue Tracker
Fixed in 4.6.X
Votes
0
Found in
4.6.0b17
Issue ID
628160
Regression
No
Grid Layout Group does not work correctly if the Start Axis is set to Vertical
To reproduce the bug:
1. Open the attached project
2. Open 'Main' scene
3. Press play
4. Notice that the Grid Layout Group with Vertical Start Axis does not work correctly. When elements are addeed, it first fills up the first row (exactly like horizontal), and as soon as it has no more space, it switches to a vertical-first layout
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
Flavelius
Mar 31, 2022 09:44
This is still an issue in 2020.3.30f1 and it's even more buggy. When adding a LayoutElement and forcing vertical expansion (flexible height 1), elements do actually wrap vertically first (not a workaround as it has other sideeffects), but the component still reserves horizontal space as if they didn't..
Carrotpie
Mar 18, 2020 13:45
In version 2019.2.6f1 Observed similar behaviour with Vertical "Start Axis". No matter which option is selected - always fills Vertically.
shoopscooper
Sep 30, 2019 19:13
The same thing Iron27 said for Unity 2019.2.4f1: It always places buttons vertically even when horizontal is picked.
Gohloum
Sep 19, 2019 18:32
This issue says fixed, but I am experiencing this exact problem in 2019.x. Regardless of row count, column count, fixed size, etc., It always lays out Horizontal.
Tatyana_Dobrodey
Nov 01, 2018 13:07
repeated in 2018.2.5
TheDemiurge
Jan 13, 2018 00:35
Broken in 2017.1.1f1....
Iron27
Sep 10, 2017 22:14
I'm now experiencing the exact opposite of this bug in Unity 5.50f3
Start Axis is set to Horizontal is filling an entire column before adding to a row. Horizontal works as intended.