> On Mar 23, 2017, at 6:35 PM, Daryle Walker <[email protected]> wrote: > > I have the NSTextView selected in its storyboard scene. And I have the > Attributes Inspector active. The entry for the font is empty. Clicking the > squared-T gives a pop-up with a “Custom” font and changing it to one of the > fixed selections (User, fixed) doesn’t do any actual change.
This is a longstanding bug, or maybe it’s an API issue. The problem is that the view’s text is empty, and an empty NSAttributedString can’t have any attributes because the attributes are associated with characters. IIRC you can fix this by adding some placeholder text, even a single space, in the view, then replacing it at runtime. —Jens _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
