• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSOutlineView cells being truncated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >NSOutlineView cells being truncated (From: Chuck Soper <email@hidden>)
 >Re: NSOutlineView cells being truncated (From: Andreas Mayer <email@hidden>)

  • Prev by Date: main nib, secondary nib, where do the outlets get connected to in the main nib?
  • Next by Date: Re: some NSTask Questons.
  • Previous by thread: Re: NSOutlineView cells being truncated
  • Next by thread: Cocoa newbie question
  • Index(es):
    • Date
    • Thread