layout.setStyle
Configure visual properties of layout elements including colors, spacing, alignment, and responsive sizing to customize appearance in Circuitry workflows.
Instructions
Set style properties on a layout element.
Available style properties:
backgroundColor, borderColor, borderWidth, borderRadius, opacity
padding: { top, right, bottom, left }
gap (spacing between children)
justifyContent, alignItems (for flex/grid alignment)
widthMode, heightMode ('fixed' or 'flexible')
widthPercent, heightPercent (for responsive sizing)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layoutId | Yes | Layout ID or name | |
| style | Yes | Style properties to set |