Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView and horizontal scroll bar problem



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.


References: 
 >NSOutlineView and horizontal scroll bar problem (From: David Alter <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.