Contents

labelIconToTitleSpacing(_:)

Set the spacing between the icon and title in labels.

Declaration

nonisolated func labelIconToTitleSpacing(_ value: CGFloat) -> some View

Discussion

Use this modifier to set the value that should be used for the icon-to-title spacing in labels. This applies to label styles and in contexts where the label displays its icon and title stacked horizontally.