Back to Slint

VerticalBox

docs/astro/src/content/docs/reference/std-widgets/layouts/verticalbox.mdx

1.16.1309 B
Original Source

import Link from '@slint/common-files/src/components/Link.astro';

A VerticalBox is a <Link type="VerticalLayout" /> with default padding and spacing from <Link type="StyleMetrics" />, providing theme-appropriate values. Use VerticalLayout directly when you need full control over spacing and padding.