Optional
alignThe alignItems
property specifies the default alignment for items inside the container.
It can be one of the following values:
Optional
alignThe alignContent
property specifies how the content is aligned within the container when there is extra space.
It can be one of the following values:
Optional
justifyThe justifyItems
property specifies the default justification for items inside the container.
It can be one of the following values:
Optional
justifyThe justifyContent
property specifies how the content is justified within the container when there is extra space.
It can be one of the following values:
The rowGap
property specifies the gap between rows in the layout.
The columnGap
property specifies the gap between columns in the layout.
The verticalPadding
property specifies the vertical padding inside the container.
The horizontalPadding
property specifies the horizontal padding inside the container.
The topPadding
property specifies the padding at the top of the container.
The rightPadding
property specifies the padding at the right of the container.
The bottomPadding
property specifies the padding at the bottom of the container.
The leftPadding
property specifies the padding at the left of the container.
The horizontalSizing
property specifies the horizontal sizing behavior of the container.
It can be one of the following values:
The verticalSizing
property specifies the vertical sizing behavior of the container.
It can be one of the following values:
CommonLayout represents a common layout interface in the Penpot application. It includes various properties for alignment, spacing, padding, and sizing, as well as a method to remove the layout.