Contents

enablesMarqueeWhenAncestorFocused

A Boolean value that determines whether the label scrolls its text while one of its containing views has focus.

Declaration

var enablesMarqueeWhenAncestorFocused: Bool { get set }

Discussion

If this value is true, then the label ignores lineBreakMode, adjustsFontSizeToFitWidth, and allowsDefaultTighteningForTruncation. The label scrolls its text when any ancestor in its view hierarchy has focus.

The default value for this property is false.

See Also

Accessing the text attributes