setTitleAlignment(_:)
Sets the alignment for all of the entry titles.
Declaration
func setTitleAlignment(_ mode: NSTextAlignment)Parameters
- mode:
The alignment can be one of the following constants:
NSRightTextAlignment,NSCenterTextAlignment, orNSLeftTextAlignment.
Discussion
The default alignment is NSRightTextAlignment.