Page 1 of 1
Text not visible for some demo on IOS 16.7
Posted: Fri Apr 12, 2024 9:03 am
by Fab85
Hello,
Using Delphi 12.1 + IOS 16.7
Text are not visible (because of Style ?) on some demo like FillnGaps, CustomDrawMath etc :
- 2024-04-12 - 10.55.15.jpg (23.26 KiB) Viewed 14834 times
FillnGaps Text is not visible
Re: Text not visible for some demo on IOS 16.7
Posted: Fri Apr 12, 2024 8:36 pm
by Sergey Tkachenko
I believe this is really a style issue.
If you do not specify TRichViewEdit.Color (it is Null by default), no special background will be drawn, and a background from FMX style will be used ("memostyle" by default).
As for text color, it is defined in TRVStyle.TextStyles[], and Black for normal text.
So, if a style has a black background, it will be black on black.
FireMonkey does not have system colors, so I cannot use constants like clWindowText.
Currently, the only solution is to change colors in TextStyles manually.
In future, probably, I'll introduce TRichView own color themes.