• 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 outlineView:isGroupItem] rendering issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSOutlineView outlineView:isGroupItem] rendering issue


  • Subject: Re: [NSOutlineView outlineView:isGroupItem] rendering issue
  • From: Corbin Dunn <email@hidden>
  • Date: Fri, 2 Nov 2007 10:24:29 -0700

Is it the designed behavior that the disclosure triangle is not vertically centered for a row specified as a group item?

I have a standard NSTextFieldCell (regular font size) for the column that displays the disclosure triangle, the height of the row has been tested with 13, 15 and 20. And in every case, the disclosure triangle is not vertically centered.

Are you trying to create a Source List? When I create one, I set the control size of the text cell used as the outline column's data cell to the small control size. Doing so causes that cell's font to be the correct size, which in turn causes the rows to be the correct size, which in turn gets me rendering just like Mail.app.

Switching to a smallFontSize value leads to a better alignement but why would the disclosure not be vertically centered in all cases?


I guess the answer is: file an enhancement request.

Thank you; I'll look into it (I already got your bug report).

--corbin
_______________________________________________

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


References: 
 >Re: [NSOutlineView outlineView:isGroupItem] rendering issue (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Switch Spaces Programmatically?
  • Next by Date: Re: Switch Spaces Programmatically?
  • Previous by thread: Re: [NSOutlineView outlineView:isGroupItem] rendering issue
  • Next by thread: CGDisplayBounds() with stacked displays...
  • Index(es):
    • Date
    • Thread