Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

GridLayoutGroup with different elements size

$
0
0
Hi,
I am trying to make a panel that works almost exactly like GridLayoutGroup, but with cells that can have different size. Here is the screen of what I want to achieve:
View attachment 202769
Please, don't find any patterns here as this is only an example. I look for a solution where each button has own width.

I tried using HorizontalLayout+ContentSizeFitter with LayoutElements on children objects, but even with fixed panel's width, new buttons don't wrap:...

GridLayoutGroup with different elements size

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>