• 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
Sidebar outline view, rowSizeStyle, and bold text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sidebar outline view, rowSizeStyle, and bold text


  • Subject: Sidebar outline view, rowSizeStyle, and bold text
  • From: David Catmull <email@hidden>
  • Date: Fri, 10 Jun 2016 08:58:27 -0600

I have a view-based, sidebar-style NSOutlineView. For some items, I want to
make the text bold. But if I change the rowSizeStyle to medium instead of
the default (in awakeFromNib), the text doesn't display as bold. If instead
I use a custom row size (in outlineView:heightOfRowByItem:) it works. What
gives?

I'm setting it to bold in outlineView:viewForTableColumn:item: by setting
view.textField.font = NSFont boldSystemFontOfSize
:view.textField.font.pointSize].
_______________________________________________

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: Sidebar outline view, rowSizeStyle, and bold text
      • From: corbin dunn <email@hidden>
  • Prev by Date: Re: Is windowControllerDidLoadNib used only when windowNibName is?
  • Next by Date: Re: How to get Window Info Dict for just one Window?
  • Previous by thread: Re: Is windowControllerDidLoadNib used only when windowNibName is?
  • Next by thread: Re: Sidebar outline view, rowSizeStyle, and bold text
  • Index(es):
    • Date
    • Thread