Instance Method


Sets the size class, like regular or small, for controls within this view.


func controlSize(_ controlSize: ControlSize) -> some View

See Also

Configuring Control Attributes

func labelsHidden() -> View

Hides the labels of any controls contained within this view.

func defaultWheelPickerItemHeight(CGFloat) -> View

Sets the default wheel-style picker item height.

func horizontalRadioGroupLayout() -> View

Sets the style for radio group style pickers within the view’s environment to be radio buttons horizontally arranged inside of the layout.

enum ControlSize

The size classes, like regular or small, that you can apply to controls within a view.