NSOutlineView always starts too big
NSOutlineView always starts too big
- Subject: NSOutlineView always starts too big
- From: Darrin Cardani <email@hidden>
- Date: Fri, 28 May 2004 11:01:50 -0500
There's something that's driving me crazy. I have an NSOutlineView in
my app. It has a vertical scrollbar, but no horizontal scrollbar. But
the view always starts out about 2 or 3 pixels wider than the view
it's contained in. This means that the user can accidentally scroll
it left and right a few pixels if they click and drag in just the
right place. Resizing the window it's in causes it to suddenly snap
to the correct size.
Looking in Interface Builder, there doesn't appear to be any way to
change the width of the table within the scroll view. Any attempt to
change the width results in IB immediately setting it back to the
default value. The thing is, the default value looks like the correct
value. It's 16 pixels less wide than the scroll view, which is what
it should be.
So why does the table always start out wider than the scroll view
when I run my app? And how do I fix it?
Thanks,
Darrin
--
Darrin Cardani - email@hidden
President, Buena Software, Inc.
<
http://www.buena.com/>
Video, Image and Audio Processing Development
_______________________________________________
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.