Re: NSOutlineView cells being truncated
Re: NSOutlineView cells being truncated
- Subject: Re: NSOutlineView cells being truncated
- From: Chuck Soper <email@hidden>
- Date: Sat, 24 Jul 2004 09:14:27 -0700
At 2:16 AM +0200 7/24/04, Andreas Mayer wrote:
Am 23.07.2004 um 23:57 Uhr schrieb Chuck Soper:
Is there an easy way that I can show partially obscured words in
NSOutlineView cells?
You could try to replace normal spaces (u0020) with no-break spaces
(u00A0) for display.
Andreas
Thanks for the recommendation. I fixed my issue by adding the
following line in my awakeFromNib method:
[outlineView setAutoresizesOutlineColumn:NO];
Before adding this line, I had a case where simply collapsing an item
would cause its second word to be truncated. That was because the
combination of hiding its children and autoresizesOutlineColumn being
on by default caused the overall width of the column to be
recalculated and reduced. I really think that
autoresizesOutlineColumn should be off be default (but I understand
that it probably can't be changed now).
Chuck
_______________________________________________
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.