Options for AddSpacer.

interface UISpacerOptions {
    size?: number;
    axis?: "vertical" | "horizontal";
    style?: Record<string, unknown>;
}

Properties

Properties

size?: number

Spacer size in logical pixels. Defaults to 8.

axis?: "vertical" | "horizontal"

Whether the spacer consumes height or width. Defaults to vertical.

style?: Record<string, unknown>

Safe CSS-like renderer style metadata.