Contents

preferredItemWidth

The preferred width for items in the group.

Declaration

var preferredItemWidth: CGFloat { get set }

Discussion

This width applies when prefersEqualWidths is true.

This is the width that items are set to if there is enough room, and if the items don’t clip.

This value is ignored if it is negative. The default value is -1.

See Also

Configuring item width