Re: NSPanel / NSTextView in Dark Mode
Re: NSPanel / NSTextView in Dark Mode
- Subject: Re: NSPanel / NSTextView in Dark Mode
- From: Gabriel Zachmann via Cocoa-dev <email@hidden>
- Date: Fri, 5 Jun 2020 21:08:22 +0200
> Make sure the text color is set to a named color such as Label Color instead
> of Black. If the text view doesn't contain text in the xib, it might not
> remember the color.
In the XIB, the NSTextView does not contain any text , just the usual
placeholder "lore ipsum".
> You might need to set the text color in code. Just set it to
> NSColor.labelColor.
That helped, thanks a lot!
Best regards, Gabriel
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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