set_layout_sizing
Adjust horizontal and vertical sizing modes for auto-layout frames in Figma, enabling precise control over fixed, hug, or fill settings to optimize design layouts.
Instructions
Set horizontal and vertical sizing modes for an auto-layout frame in Figma
Input Schema
Name | Required | Description | Default |
---|---|---|---|
layoutSizingHorizontal | No | Horizontal sizing mode (HUG for frames/text only, FILL for auto-layout children only) | |
layoutSizingVertical | No | Vertical sizing mode (HUG for frames/text only, FILL for auto-layout children only) | |
nodeId | Yes | The ID of the frame to modify |