Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Justify

enumeration

Description

This enumeration contains values to control how children are justified during layout.

The main axis of a container is the primary axis on which children are laid out, that is, its flex direction.

Properties

FlexStartItems are justified towards the beginning of the main axis.
CenterItems are centered.
FlexEndItems are justified towards the end of the layout direction.
SpaceBetweenItems are evenly distributed in the line; first item is at the beginning of the line, last item is at the end.
SpaceAroundItems are evenly distributed in the line with extra space on each end of the line.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答