|
?
?
?
5、Auto Layout
?
?
?
自动布局系统提供方法来将元素放置在嵌套的布局组水平组、垂直的组或网格等中。它还允许自动根据包含的内容大小来调整元素的大小。
?
?Content Size Fitter
?
?Layout Element
?
?Horizontal Layout Group
?
?Vertical Layout Group
?
?Grid Layout Group
?
?
?
5.1 Content Size Fitter
?
Properties

?
Property :
?
Horizontal Fit
?
Vertical Fit
?
?
?
5.2 Layout Element
?
Properties

?
Property :
?
Min Width
?
Min Height
?
Preferred Width
?
Preferred Height
?
Flexible Width
?
Flexible Height
?
?
?
5.3 Horizontal Layout Group
?
Properties

?
Property:
?
Padding
?
Spacing
?
Child Alignment
?
?
?
5.4 Vertical Layout Group
?
Properties

?
Property:
?
Padding
?
Spacing
?
Child Alignment
?
?
?
5.5 Grid Layout Group
?
Properties

?
Property:
?
Padding
?
Cell Size
?
Spacing
?
Start Corner
?
Start Axis
?
Child Alignment
?
?
? ??
|