On Jun 5, 2020, at 13:33:17, Gabriel Zachmann via Cocoa-dev <cocoa-dev@lists.apple.com> wrote: > > Everything works, *except* in Dark Mode, the text in the NSTextView is not > legible, since it's black text on dark background. > > What should I do to make this panel also Dark Mode "proof" ?
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. You might need to set the text color in code. Just set it to NSColor.labelColor. -- Steve Mills Drummer, Mac geek _______________________________________________ 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