user9194124
user9194124

Reputation:

How can i make this grid layout group expand horizontally?

I am building a Unity game, and want my child elements of my grid layout group to expand horizontally across so i can scroll through, rather then vertically. I have been playing around with the settings for awhile, but can't seem to make it work. I have attached some relevant images. Thank you!

What i am looking for.

What it is doing.

Grid layout settings.

Upvotes: 1

Views: 2141

Answers (2)

Paviel Kraskoŭski
Paviel Kraskoŭski

Reputation: 1419

You can use HorizontalLayoutGroup to stack your elements horizontally.

Upvotes: 0

MGDroid
MGDroid

Reputation: 1659

Go to constraint set the fix row count to 1

Upvotes: 1

Related Questions