• 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
NSOutlineView cell size 8 pixels too narrow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView cell size 8 pixels too narrow


  • Subject: NSOutlineView cell size 8 pixels too narrow
  • From: Trygve Inda <email@hidden>
  • Date: Tue, 01 Oct 2013 15:38:17 -0700
  • Thread-topic: NSOutlineView cell size 8 pixels too narrow

When my window first loads, I have an NSOutlineView (which has it's internal
NSScrollView). This is placed in my window and I have a custom Cell done
with:

@interface SourceViewCell : NSTextFieldCell

My cell width is 8 pixels too narrow until I resize the window (even by only
a pixel). It is as if the auto-sizing is not working when it is loaded from
the nib. No matter how I configure the nib, the cell is always 8 pixels too
narrow until I resize the window which causes it to work correctly after
that.

Any ideas? 10.8. The problem does not exist on 10.6 with the exact same
code/project.

Thanks.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: NSOutlineView cell size 8 pixels too narrow
      • From: Jakob Egger <email@hidden>
    • Re: NSOutlineView cell size 8 pixels too narrow
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: iOS Calendar Question
  • Next by Date: App never reaches applicationDidFinishLaunching method
  • Previous by thread: Cursor - Unable to use retina image
  • Next by thread: Re: NSOutlineView cell size 8 pixels too narrow
  • Index(es):
    • Date
    • Thread