Optional
backgroundHTML color, formatted #RRGGBB
Optional
borderInteger. Can be used to create rounded borders
Optional
borderInteger. Can be used to set the width of the border
Optional
bordersSets borders around the layout to visually group its children
Optional
columnWhen columnSize
is not set (or set to "fixed"
) all available space is split into fixed weights. It will then fit the child content into the column, rather than expanding and shrinking the column based on the content size.
When columnSize
is set to "grow"
, the column sizes are determined by the content. When there is leftover space, the space is distributed over all columns. To influence the relative amount of space into which a child grows, you can set a grow factor for each child. The column will then grow proportionally according to this factor. Children without a grow value automatically receive the value 1.
Optional
growgrow is optional and only takes effect if the current element is a child of a row layout
Optional
paddingInteger. Adds padding around the container
The type of the preview element
Generated using TypeDoc
The StructurePreviewProps type is used to define the structure of the widget preview. The widget preview is used to visualize the widget in the Mendix Studio Pro and Studio. It can be used to render a custom image, a container, a row layout, text, a drop zone, a selectable object, or a data source. The widget preview can be used to visualize the widget in the Mendix Studio Pro and Studio. It can be used to render a custom image, a container, a row layout, text, a drop zone, a selectable object, or a data source.