Min Width and Height

The Min Width and Min Height properties are the minimum width and height a child object can achieve. If the parent object is scaled down, the child will scale down until it meets its Min Width or Min Height. Once it meets its Min Width or Min Height property, it will no longer scale in that direction.

In the following diagram, the panel has a Horizontal Layout Group component and five child objects. The first child, labeled with a 1, has a Layout Element component with Min Width and Min Height properties set:

Layout Element Example 2 in the Chapter3Text Scene

You can see that the parent object's Horizontal Layout Group ...

Get Mastering UI Development with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.