EvenSpacer - Spacer. Distribute the components equally in the available space within the arrangement

EvenSpacer
Distribute the components equally in the available space within the arrangement..

More examples: (Screenshots)

HorizontalArrangement:

Portrait

Before:


After:

Landscape

Before:


After:


VerticalArrangement:

Portrait

Before:


After:

Landscape

Before:


After:


  • Insert invisible views between each of the components within the Arrangement.

  • These spacers absorb the remaining free space equally for even distribution regardless of screen size.

  • It automatically removes previous spacers before running to prevent duplicates if you call the block more than once.


DistributeEvenly

Pass any Horizontal or Vertical Arrangement as a parameter.


v1.0 August 01, 2026.

EvenSpacer.aia (8.7 KB)

joejsanz.joedevevenspacer.aix (6.0 KB)


JDK: 17
Minimum API Level: 14
Updated On: 2026-08-01T07:00:00Z

Built using: FAST-CLI v7.0.0-premium


Thanks.

4 Likes

It doesn't work with or within a ScrollArrangement.