struct StackStyle
Swift
struct StackStyle
Not documented.
Sources/LavaUI/Stack.swift:10
Constructors
init(flexGrow: Float = 0, width: Dimension = .auto, height: Dimension = .auto, padding: Float = 0, alignment: StackAlignment = .stretch, spacing: Float? = nil, wraps: Bool = false)
Not documented.
Sources/LavaUI/Stack.swift:21
Properties
var alignment: StackAlignment
Not documented.
Sources/LavaUI/Stack.swift:15
var flexGrow: Float
Not documented.
Sources/LavaUI/Stack.swift:11
var height: Dimension
Not documented.
Sources/LavaUI/Stack.swift:13
var padding: Float
Not documented.
Sources/LavaUI/Stack.swift:14
var spacing: Float?
Distance between adjacent children. nil uses the theme default.
Sources/LavaUI/Stack.swift:17
var width: Dimension
Not documented.
Sources/LavaUI/Stack.swift:12
var wraps: Bool
Continue children onto additional flex lines when the main axis fills.
Sources/LavaUI/Stack.swift:19