Field hilited text color on Windows
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Field hilited text color on Windows
I see your using 'srcCopy' as the ink, perhaps a change there would produce the result your looking for? For instance, 'blendDifference' which produces the exact opposite color as what you have originally (a little unpredictable for what your shooting for though I suspect).
Re: Field hilited text color on Windows
Yes: on windows even the scroll bar get colorised...with awful results. I don't thing is the way to go.
Estethically also I am also having problem with how the hilited line gets painted.
In the first screen shot I posted, I have a 10pt text, with fixed line height, text height 12, margin 8.
The hilited color is "top" aligned with the text, instead of being vertically centered with the text.
Very ugly.
Off course the problem arise from using the "12" text height. Around "14" the color hilite gets centered. But since I need to squeeze more text lines in the field, I cannot avoid this.
On OSX, being able to use light hilited colours, the problem is not so apparent. But is the same.
Estethically also I am also having problem with how the hilited line gets painted.
In the first screen shot I posted, I have a 10pt text, with fixed line height, text height 12, margin 8.
The hilited color is "top" aligned with the text, instead of being vertically centered with the text.
Very ugly.
Off course the problem arise from using the "12" text height. Around "14" the color hilite gets centered. But since I need to squeeze more text lines in the field, I cannot avoid this.
On OSX, being able to use light hilited colours, the problem is not so apparent. But is the same.
Trevix
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>
-
- Posts: 29
- Joined: Sat Apr 10, 2021 6:56 pm
Re: Field hilited text color on Windows
This is indeed an issue. Hopefully it gets resolved. The garrish green background was chosen to show that it's indeed the background color showing through the text on the Win version.
Gary E Chike DMD
"Experience is what you get when you don't get what you want"
"Experience is what you get when you don't get what you want"
Re: Field hilited text color on Windows
Isn't that a "feature" in Windows? I think it tries to make sure there's enough contrast to be able to see the hilited text. Changing the hilitecolor of the field to something lighter might fix it. Or you could turn off autohilite and set the backcolor of the line by script.
I vaguely remember dealing with this a long time ago.
I vaguely remember dealing with this a long time ago.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com