Game Development Reference
In-Depth Information
Min Height : The minimum height property defines the smallest height that
the Rect Transform for the child element in a layout group will scale down
to. If the layout group's Rect Transform height is reduced, the control will
scale down until this height property is hit and will not scale the height
down any further. In the following example, the leftmost element has a Min
Height set to 100 and is not resized, whereas the right-hand element has not
and as such has been scaled down:
The left most child element overrides the layout and remains larger
Preferred Width : The preferred width property defines the largest width
that the Rect Transform for the child element in a layout group will scale up
to. If the layout group's Rect Transform width is increased, the control will
not scale up any more beyond this value. Its width however, will scale lower
than this value.
Note: If you have left the default options on the group for Child
Force Expand , it will override any preferred settings of the Layout
Element , forcing the UI element to take up the maximum space
available within the group.
 
Search WWH ::




Custom Search