macOS 12.1 TableView and OutlineView (View Based) use: - (void)awakeFromNib NSRect boundingRect = tableFont.boundingRectForFont; self.outlineView.rowHeight = ceil( boundingRect.size.height )
and sets attributedStringValue (using the tableFont). This works mostly ok. But for tableFont = Avenir or Gill Sans it looks really bad: The bottom path of all rows is clipped, and the disclosure triangle in the OutlineView points to the top of the string instead to the center. Setting rowHeight = 1.5 * ceil( …) fixes these problems, but then the rows are of course much too high. Similar problems with many other fonts, but Gill Sans has the most visible strangeness. What am I doing wrong? Gerriet. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com