Instance Property

alignment

The alignment mode of the text in the receiver’s cell.

Declaration

@property NSTextAlignment alignment;

Discussion

The value of this property can be one of the following constants: NSLeftTextAlignment, NSRightTextAlignment,NSCenterTextAlignment, NSJustifiedTextAlignment, or NSNaturalTextAlignment. The default value is NSNaturalTextAlignment. Setting this property while the cell is currently being edited aborts the edits to change the alignment.

See Also

Formatting Text

font

The font used to draw text in the receiver’s cell.

lineBreakMode

The line break mode to use for text in the control’s cell.

usesSingleLineMode

A Boolean value that indicates whether the text in the control’s cell uses single line mode.

- setFloatingPointFormat:left:right:

Sets the auto-ranging and floating point number format of the receiver’s cell.

Deprecated
formatter

The receiver’s formatter.

baseWritingDirection

The initial writing direction used to determine the actual writing direction for text.