Hi
When using Theme FluentDark,
foreground color for numeric characters is unreadable
Fluent Dark Theme (EditControl background is set to transparent and foreground to white)
Fluent Dark Theme (EditControl background is set to white and foreground to black)
So, how can i change foreground color for numeric characters?
Thanks
Michele
Hi Michele,
We are checking the reported issue. We will provide further details on April 20, 2022. We appreciate your patience until then.
Regards,
Sulthan Amanu
Hi Michele,
We are still checking the reported issue. We will provide further details on April 21, 2022. We appreciate your patience until then.
Regards,
Sulthan Amanu
Hi Michele,
Currently, dark theme is not supported for some of the characters in the edit control. We are planning to log this as feature request. We will share the details on Apr 25, 2022.
Regards,
Sulthan Amanu
Hi Michele,
You can resolve the reported issue by setting the Foreground for NumberFormat at the sample level while using the dark theme, as shown in the code snippet below.
Code snippet:
|
List<EditFormats> list= edit.CurrentLanguage.Formats.Cast<EditFormats>().ToList();
for(int i=0;i<list.Count-1;i++) { if ((list[i] as EditFormats).FormatName == "NumberFormat") { (list[i] as EditFormats).Foreground = Brushes.Red; } }
edit.CurrentLanguage.Formats = list;
|
Please let us know if you need any further assistance on this.
Regards,
Sulthan Amanu
Hi Sulthan
Thanks, it works!
Problem solved
Michele
Hi Michele,
We are glad to know that your issue has been resolved. Please let us know if you need any other assistance. We will be happy to assist you.
Regards,
Manivannan E