Contents

contentMaxSize

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

Declaration

var contentMaxSize: NSSize { get set }

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