Instance Property

contentResizeIncrements

The window’s content-view resizing increments.

Declaration

@property NSSize contentResizeIncrements;

Discussion

The value of this property restricts the user’s ability to resize the window so the width and height of its content view change by multiples of width and height increments. As the user resizes the window, the size of its content view changes by integral multiples of contentResizeIncrements.width and contentResizeIncrements.height. However, you can set a window’s size to any width and height programmatically. This property takes precedence over resizeIncrements.

See Also

Sizing Content

contentAspectRatio

The window’s content aspect ratio.

contentMinSize

The minimum size of the window’s content view in the window’s base coordinate system.

- setContentSize:

Sets the size of the window’s content view to a given size, which is expressed in the window’s base coordinate system.

contentMaxSize

The maximum size of the window’s content view in the window’s base coordinate system.

contentLayoutGuide

A value used by Auto Layout constraints to automatically bind to the value of contentLayoutRect.

contentLayoutRect

The area inside the window that is for non-obscured content, in window coordinates.

maxFullScreenContentSize

A maximum size that is used to determine if a window can fit when it is in full screen in a tile.

minFullScreenContentSize

A minimum size that is used to determine if a window can fit when it is in full screen in a tile.