官术网_书友最值得收藏!

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 tried to scale all the children down with it as it scaled down itself. The other four children scaled, but since the first child had a Min Width and Min Height property set, it refused to scale down any further.

主站蜘蛛池模板: 东海县| 卢龙县| 桃江县| 额济纳旗| 库尔勒市| 青海省| 靖远县| 修文县| 蓬溪县| 辽阳市| 平武县| 肃北| 禹州市| 阿坝| 玉环县| 金寨县| 金沙县| 宣城市| 磴口县| 三台县| 灵川县| 马尔康县| 叶城县| 沐川县| 句容市| 青岛市| 孟村| 洛川县| 宁陵县| 枞阳县| 石河子市| 定日县| 竹溪县| 枣强县| 博湖县| 东台市| 南岸区| 正定县| 双峰县| 桂东县| 永安市|