- Home /
Fill empty space in parent in UI Layout
See the Image for an easy description of the problem:
I have a horizontal Panel with 3 elements in it.
The first Panel should be aligned to the left side and have a fixed width.
The last Panel should be aligned to the right side and have a fixed width.
The middel Panel should fill the remaining space in the center
. I tried a long time but unfortunately I can't get it to work. I have a hard time beleiving that something so simple is hard (or maybe even impossible?) in unitys UI System.
mspaint-2017-01-23-04-18-19.png
(10.3 kB)
Comment
Best Answer
Answer by Hellium · Jan 23, 2017 at 12:07 PM
This is how I have done :
layout.jpg
(216.6 kB)