Re: NSOutlineView and horizontal scroll bar problem
Re: NSOutlineView and horizontal scroll bar problem
- Subject: Re: NSOutlineView and horizontal scroll bar problem
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 08 Jul 2004 15:03:52 -0400
on 2004-07-08 2:10 PM, David Alter at email@hidden wrote:
>
I have a NSOutlineView inside a NSScrollView. The outline view is
>
configured with a horizontal scroll bar and "Autoresize columns to fit"
>
in IB. As I open the disclosure triangles the NSSrollView is aware that
>
the data has gotten wider but it is only aware that is wider by the
>
width of the disclosure triangle ( 16 pixels ). That is nice but the
>
width of the cells data is my real issue. The cells data (text) in
>
some case is long and the horizontal scroll bar does not take into
>
account for the size of the data. This appears to be a bug, but I still
>
need a work around. Does anyone have any ideas on this?
I've had similar problems. I ended up setting the initial column width very
wide in Interface Builder and leaving it to the user to change the column
width as desired. In my case, better too wide than too narrow. That's a
workaround, but not fully satisfactory.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
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.