×

Horizontal Stack

iOS 14 +

Notes

Create a horizontal stack. This action should be used together with 'List' to pass in the views you want to display next to each other. You can find more info at https://widgetpack.app/documentation

Syntax

horizontalStack(alignment: <#Object (VerticalAlignment)#>, spacing: <#Double#>, content: <#Variable#>)

Example

horizontalStack(alignment: VerticalAlignment(identifier: "VerticalAlign", displayString: "Vertical Align"), spacing: 10, content: My Views)