Instance Method

viewSizeChanged:

Tells the recever when the color panel's view size changes in a way that might affect the color picker.

Required.

Declaration

- (void)viewSizeChanged:(id)sender;

Parameters

sender

The NSColorPanel that contains the color picker.

Discussion

Use this method to perform special preparation when resizing the color picker’s view. Because this method is invoked only as appropriate, it’s better to implement this method than to override the method superviewSizeChanged: for the NSView in which the color picker’s user interface is contained.

See Also

Handling Events

- alphaControlAddedOrRemoved:

Sent when the color panel's opacity controls have been hidden or displayed.

Required.