-
|
Hi, I am trying to create a main menu but having some trouble with the UI components so I have a few questions:
Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Ok, I was able to figure it out (kind of) |
Beta Was this translation helpful? Give feedback.
Ok, I was able to figure it out (kind of)
I am using only Uniform grid as my layout type for all layers. On it, if you change Rows field (for example 5), it will divide the height into 5 equal pieces. Then under it, components will have Rows field. If you set it 3, then it will take up the 3/5 of the vertical space (should work the same if used as horizontal with adding Columns instead of Rows).
And, to change the order, change the Uniform Grid.Row field. It takes values between 0 - (Parent Rows - 1) -> In this case 0-4.
If you have a button and you want it to take up 2/5 of the field at the bottom, set its:
Uniform Grid.Row = 3
Uniform Grid.Row Span = 2
So it will start from the 4th sect…