Unity GUI : splitting vertical layout group by ratio

70571-5fwcd.png

In the picture above, I would like to fix the ratio of ‘a’ and 'b. ‘A’ is a 2, ‘b’ is definitively 1. What should I do?

In the vertical layout group you should disable ChildForceExpand Height. In each child of the layout group you add a component called LayoutElement. Activate the boolean FlexibleHeight and give it a value of 50 for the first child and give it a value of 100 in the second child (or any other ratio that gives 1:2).