package designcompose.definition.layout

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

enum AlignContent

positioning.proto:50

Controls the distribution of space between multiple lines of items when they wrap within a container. This comes into play when the container has more items than can fit on a single line.

Used in: LayoutStyle

enum AlignItems

positioning.proto:26

Controls how items are aligned on the cross axis within a single line (row or column) of the container. The cross axis is the axis perpendicular to the main axis (the direction the row/column lays out its items).

Used in: LayoutStyle

enum AlignSelf

positioning.proto:37

Overrides the AlignItems setting for a specific item within the container. This lets you customize the alignment of one item without affecting others.

Used in: LayoutStyle

enum FlexDirection

positioning.proto:62

Dictates the primary direction in which items within a flex container (like Row or Column) are laid out.

Used in: LayoutStyle

enum FlexWrap

positioning.proto:138

Defines how flex items wrap when they exceed the available space.

Used in: view.NodeStyle

enum GridLayoutType

grid.proto:31

Defines the type of grid layout used for a view.

Used in: view.NodeStyle

message GridSpan

grid.proto:24

Represents a span for a node within a grid layout.

Used in: view.NodeStyle

message ItemSpacing

positioning.proto:117

Defines the spacing between items in a layout. It can be either a fixed value or an "auto" value, which will be calculated based on the available space.

Used in: LayoutStyle

message ItemSpacing.Auto

positioning.proto:120

Specifies an "auto" spacing value. It contains the desired width and height of the spacing.

Used in: ItemSpacing

enum JustifyContent

positioning.proto:72

Controls how items are distributed along the main axis of a flex container. This is particularly useful when items don't fill the entire available space.

Used in: LayoutStyle

enum LayoutSizing

positioning.proto:107

Defines how a view's size is determined.

Used in: view.NodeStyle

message LayoutStyle

layout_style.proto:31

This message defines the layout style of a Figma node. It includes various properties that control the node's position, size, and spacing, as well as its alignment and flexbox behavior.

Used in: view.ViewStyle, layout_interface.LayoutNode

enum Overflow

positioning.proto:91

Defines how content overflows the bounds of a view.

Used in: view.NodeStyle

enum OverflowDirection

positioning.proto:98

Defines the direction of overflow scrolling

Used in: ScrollInfo

enum PositionType

positioning.proto:84

Determines how an item is positioned within its parent container, providing different layout behaviors.

Used in: LayoutStyle

message ScrollInfo

positioning.proto:132

Represents information about the scroll state of a view, including the overflow direction and whether paged scrolling is enabled.

Used in: view.View