Instance Property

contentMaxSize

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

Declaration

@property NSSize contentMaxSize;

Discussion

The maximum size constraint is enforced for resizing by the user as well as for the setContentSize: method and the setFrame... methods other than setFrame:display: and setFrame:display:animate:. This method takes precedence over the maxSize property.

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.

contentResizeIncrements

The window’s content-view resizing increments.

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.