Hot Door CORE Forum
TextView text color black-on-charcoal in dark UI for Mac - Printable Version

+- Hot Door CORE Forum (http://hotdoorcore.com/forum)
+-- Forum: All forums (http://hotdoorcore.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bugs (http://hotdoorcore.com/forum/forumdisplay.php?fid=5)
+--- Thread: TextView text color black-on-charcoal in dark UI for Mac (/showthread.php?tid=276)



TextView text color black-on-charcoal in dark UI for Mac - Rick Johnson - 02-25-2021

When a panel contains a TextView opened in a dark UI, the text is black. Under Windows, the background is a medium gray, so the text is still readable. Changing the Windows UI, the text is always black.

In macOS, the text is initially black on dark gray, making it illegible. When the UI is changed to light, then back to dark, the TextView text changes to white on a dark background, which is what I'd actually expect initially for both Mac or Windows.

Is there a way to make TextView text start and stay in white when in a dark UI? It might make a workaround easier and even considered a feature if we could change the text color and background color in text widgets.

Any suggestions would be much appreciated.


RE: TextView text color black-on-charcoal in dark UI for Mac - Rick Johnson - 05-13-2023

Working more with TextViews, I may have some clues regarding the text color in macOS. Pasted text retains its font, color, and size style attributes.

When in a dark UI and text is pasted from an app that supports text styling, it's automatically assigned a black color, which is hard to read against a black or charcoal color background. This is true for text that appears white in an app using Mac's dark UI option, or text that appears black in a white window. Text copied and pasted from a plain-text editor like BBEdit appears in the default white color, panel font. When the UI color is changed in AI Preferences, text color is automatically changed to black or white as appropriate. The font and size remain unchanged.

I hope pasting text into a text view isn't handled entirely by the OS, and cannot be changed by CORE. In that case, could a function be added to remove all rich text formatting in a text view?