I’ve tried List, Grid and Table layout but none really do the job.
Inside each frame I got a UISizeContraint, which all have a defined MaxSize except Frame3 (red part)
What’s the size of the actual frame? A size constraint ensures that the absolute size of the frame does not go above MaxSize or below MinSize. The frame itself can be anything in between.
A UIGridLayout will take control of the frame’s size UNLESS a UISizeConstraint prohibits it. In this case the size constraint lets the frame be that size, so it is.
Don’t UIs automatically size to fit the dimensions of a screen? By that, I mean if there was a size value like (0.3,0,0.5, 0) then that’d be half the screen on the Y axis and 3/10’s of the screen on X.
This isn’t possible to do with the current layout system, unfortunately. We’re planning to introduce a feature to handle this automatically sometime next year, but for now you’ll have to use a Lua script to calculate the remaining size in the parent and set the red frame’s size appropriately.