enlarging an NSScrollView
enlarging an NSScrollView
- Subject: enlarging an NSScrollView
- From: arekkusu <email@hidden>
- Date: Fri, 20 Jun 2003 02:35:21 -0700
Hello,
Can somebody please explain why:
IBOutlet NSScrollView *scroll;
NSSize size = [scroll frame].size;
size.height -= 20;
[scroll setFrameSize: size];
will correctly redraw the vertical scrollbar at the smaller size, but:
IBOutlet NSScrollView *scroll;
NSSize size = [scroll frame].size;
size.height += 20;
[scroll setFrameSize: size];
will leave a big gaping hole at the bottom of the scrollbar? Why is the
NSScroller not send the same recalc/redraw message in both cases?
I am trying to un-collapse my NSScrollView in an NSSplitView, and
nothing I do fixes the initial scrollbar display. It fixes itself as
soon as I resize the window by one pixel.
_______________________________________________
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.