Overriding NSSlider/NSSliderCell: continued
Overriding NSSlider/NSSliderCell: continued
- Subject: Overriding NSSlider/NSSliderCell: continued
- From: Cyril Godefroy <email@hidden>
- Date: Mon, 11 Feb 2002 10:20:28 +0100
I'm still working on overriding NSSlider and NSSliderCell to change the
knob for specific uses and the behavior to select ranges of values also.
Right now, I'm just overriding the drawBar, the drawInteriorWithFrame,
and I created a new NSImageCell for the knob (with great help from
GNUStep-GUI). I created a palette for that widget, but when I drop it on
a window in IB, I can only resize it on its width: Height is constrained
to 21 pixels as soon as I touch it.
I've looked in the tree of classes to find out which method would do
that. Didn't find it in NSCell nor NSControl. Double checked all the
public methods for NSSlider and NSSliderCell: nothing regarding size.
Somebody has got clues regarding this strange behavior? Maybe is it more
simply IB related?
Thanks for your comments.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.