Contents

setConstrainedFrameSize(_:)

Attempts to set the frame size as if by user action.

Declaration

func setConstrainedFrameSize(_ desiredSize: NSSize)

Parameters

  • desiredSize:

    The new desired size.

Discussion

This method respects the receiver’s existing minimum and maximum sizes and by whether resizing is permitted.

See Also

Related Documentation

Controlling text display