PDA

View Full Version : how to adjust selected copy in text block?



tahl_liadon
May 11th, 2021, 20:59
.
see image... notice i've set text to bold to call out the selected text;
also (maybe) notice selected text highlight is same color as background, so it's practically not detectable.

is it possible and where can i change setting (in code?) to adjust contrast and/or change color of highlight of selected text?

thx
.

https://www.fantasygrounds.com/forums/attachment.php?attachmentid=46523
.

LordEntrails
May 11th, 2021, 21:04
Via an extension you can change/control the fonts and font definitions. You will effectively be making a theme to use fonts that you find more distinct. You might try other existing themes for the ruleset you are using, some of those will have different fonts that may show bold text more distinctly.

damned
May 11th, 2021, 23:27
you cant change the colour of specific sections - you can only replace the entire bold font definition.

Trenloe
May 12th, 2021, 06:18
is it possible and where can i change setting (in code?) to adjust contrast and/or change color of highlight of selected text?
See <selectioncolor> in the formattedtextcontrol XML definition in the Wiki here:

https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996645025/formattedtextcontrol

damned
May 12th, 2021, 06:40
Do these all apply for formattedtextfield as well?

Trenloe
May 12th, 2021, 07:12
Do these all apply for formattedtextfield as well?
Yes, because formattedtextfield inherits formattedtextcontrol.

Jiminimonka
May 14th, 2021, 20:07
You learn something new every day :)