Default Min List Row Height
The default minimum height of rows in a list.
Platform Compatibility
Tags
SwiftUI Code
List {
Section {
Text("Foo")
Text("Bar")
} header: {
Text("Header")
} footer: {
Text("Footer")
}
}
.environment(\.defaultMinListRowHeight, 100)Found an issue or have a suggestion?
More List Components
View allOutline Group
A structure that computes views and disclosure groups on demand from an underlying collection of tree-structured, identified data.
Disclosure Group
A view that shows or hides another content view, based on the state of a disclosure control.
Section Index Label and Visibility
Sets the label that is used in a section index to point to this section, typically only a single character long. Changes the visibility of the list section index.
Explore Other Components
Browse allSearch Tab Role
On Liquid Glass, this tab is placed in its own group. In left-to-right (LTR) layouts, it will always appear on the right side of the TabView.
Fitted Sheet Sizing
Sets the sizing of the containing presentation. This does not have any effect on smaller devices like iPhone and Apple Watch. On macOS, fitted is the default.
Navigation Split View Container Background
A background placement behind the content of a NavigationSplitView.
Music Picker
Presents a music picker to select items from the Apple Music catalog and the user’s music library.