LayoutStyle

Defines the style of a layout.

Field

  • padding_left (length): Defines padding on the left. (default value: 0)
  • padding_right (length): Defines padding on the right. (default value: 0)
  • padding_top (length): Defines padding on the top. (default value: 0)
  • padding_bottom (length): Defines padding on the bottom. (default value: 0)
  • spacing (length): Defines space between element in the layout (default value: 0)
  • alignment (`LayoutAlignment): Defines alignment of the layout. (default value: stretch)

MagicVerticalBox

It's just a vertical layout with a style.

Properties

  • style (in LayoutStyle): Defines the style of the layout.