3 Align API
Jakub Sobon edited this page 2019-03-03 18:47:55 -05:00

Doc Status

The align package exposes types that specify the alignment of elements.

This is a data-only package which provides types that are accepted by the infrastructure and widgets in multiple locations.

The public API surface of this package consists of the following:

align.Horizontal

The align.Horizontal specifies the horizontal alignment of an element. The package provides predefined values for the following alignments:

  • Left.
  • Center.
  • Right.

align.Vertical

The align.Vertical specifies the vertical alignment of an element. The package provides predefined values for the following alignments:

  • Top.
  • Middle.
  • Bottom.