ItemLineAlignment

*此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下這裡

柔性布局 中,這個枚舉被用於 ItemLineAlignment 屬性的 UIListLayout 來定義線內兄弟的 交叉方向 對齊。它也用於特定 ItemLineAlignment 的屬性的 UIFlexItem 來定義線內父親 GuiObject 的橫向對齊。

Examples of options for ItemLineAlignment in a horizontal
fill direction.

道具

名稱概要
Automatic0

UIListLayout 或特定 UIFlexItem 父親的兄弟配置到布局的 HorizontalAlignmentVerticalAlignment 上,取決於它的 FillDirection 。如果 HorizontalFlexVerticalFlex 對於 UIListLayout 交叉方向啟用,Stretch 將用於該方向。

Start1

UIListLayout 或特定 UIFlexItem 父親的兄弟調整到線的 在水平填充或線的 在垂直填充中。

Center2

UIListLayout 或特定 UIFlexItem 父親的兄弟調整到線的 中心 在水平或垂直填充中。

End3

將 或特定 父親的兄弟調整到線的 底部 或線的 右側 在水平填充或線的 右側 在垂直填充中。

Stretch4

延伸 UIListLayout 或特定 UIFlexItem 父親的兄弟姐妹以填滿線的整個垂直或水平填充方向。

此頁面