Contents

labelReservedIconWidth(_:)

Set the width reserved for icons in labels.

Declaration

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

Discussion

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