Behavior : Linear layout

Author:Rex.Rainbow

Download

Properties

Mode

  • Average mode: layout instances in range averagely, Fix mode: layout instances with fix distance.
    • Options : ["Average","Fix"]

Direction

  • Direction from start to end.
    • Options : ["Left to right","Right to left","Top to bottom","Bottom to top"]

Alignment

  • Alignment. It only uses in Fix mode.
    • Options : ["Start","Center","End"]

Spacing

  • Spacing (delta distance) of each instance, in pixels. It only uses in Fix mode.

Actions

Fix mode

Action:Set spacing

  • Set spacing (delta distance) of each instance, in pixels. It only uses in Fix mode.
    • Spacing ( number ) : Spacing (delta distance) of each instance, in pixels.

Mode

Action:Set mode

  • Ser mode of layout.
    • Mode ( Combo ) : Mode of layout.
      • Options : ["Average","Fix"]

Action:Set direction

  • Set direction of layout instances.
    • Direction ( Combo ) : Direction of layout instances.
      • Options : ["Left to right","Right to left","Top to bottom","Bottom to top"]

Action:Set alignment

  • Set alignment of instances. It only uses in Fix mode.
    • Alignment ( Combo ) : Alignment of layout instances.
      • Options : ["Start","Center","End"]

Expressions

Conditions