RectTransform min width?

I have a grid layout via nested horizontal and vertical layout groups. I need to control all the child sizes so that it scales with the window size.

Is it possible to set a min width somehow similar to Unity’s LayoutElement?

Original Post on Discord

by user 300386587278049291

I’m asking because width is read only and I tried changing everything possible with code…hoping its something simple I’m overlooking to adjust the width

by user 300386587278049291

Hey, sorry for the late reply. I think this is currently not possible - but I can look into it the next few days

@BMAN I’m adding a minWidth and maxWidth (in pixel) property to the RectTransform for the next version

Amazing! I’ll create a scene with my grid for you to test against

by user 300386587278049291

Sent as bug report

by user 300386587278049291