Determines how the receiver’s
resizeWithOldSuperviewSize: method changes its frame rectangle.
- (void)setAutoresizingMask:(NSUInteger)mask
Parameters
- mask
- An integer bit mask. mask can be specified by combining using the C bitwise OR operator any of the options described in
“Resizing masks”.
Discussion
Where more than one option along an axis is set,
resizeWithOldSuperviewSize: by default distributes the size difference as evenly as possible among the flexible portions. For example, if NSViewWidthSizable and NSViewMaxXMargin are set and the superview’s width has increased by 10.0 units, the receiver’s frame and right margin are each widened by 5.0 units.Availability
- Available in OS X v10.0 and later.
Declared In
NSView.h
コメント
コメントを投稿