Jump to content
Sign in to follow this  
ScottH

TEdit change text color on selected text

Recommended Posts

Hello,

Using FMX for MacOS., TEdit component.

When text is selected within the edit field, the background of the selection changes to a dark color, but the text does not change color, making it hard to read.  The standard UI for MacOS (and Windows) is for the text to change to white, to preserve contrast. This is, in fact, how TEdit works in VCL, but not in FMX.

I can change the background color of the selection using styles, but apparently cannot change the just the selected text color that way.   While changing the background color could improve readability, it would not be consistent with what the user expects when making a selection.

Am I missing something?  I've reported this as a possible bug, what wonder if I am missing something basic or a workaround.

Thanks.  Happy New Year.

Scott

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×