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
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