April 2018
Beginner
468 pages
11h 7m
English
The Preferred Width and Preferred Height properties are a little confusing, because they perform differently depending on the settings you have for the parent's layout group. There is no official Max Width and Max Height setting, despite there being a Min Width and Min Height setting. The Preferred Width and Preferred Height properties, however, can be used to specify the maximum size the child object will achieve, but only if the correct settings on the parent's layout group are selected.
The following diagram contains three Panels with Vertical Layout Group components and various settings. Their children also have various settings for Preferred Height within a Layout Element component: