autoresizing window and scroll bars
autoresizing window and scroll bars
- Subject: autoresizing window and scroll bars
- From: Mitchell Livingston <email@hidden>
- Date: Thu, 22 May 2008 20:14:10 -0400
Hello,
I have a table view nested in a window. I resize the window with
animation, and when resizing I hide the scroll bars. The problem is
that they don't seem to reappear on finish. My code is as follows:
NSScrollView * scrollView = [fTableView enclosingScrollView];
[scrollView setHasVerticalScroller: NO];
[fWindow setFrame: [self sizedWindowFrame] display: YES animate: YES];
[scrollView setHasVerticalScroller: YES];
I also tried putting the [scrollView setHasVerticalScroller: YES] in
the table view's viewDidEndLiveResize method with no luck. Anyone have
any advice on how to get the desired behavior?
Thanks,
Mitchell Livingston
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden