Change dim red font to brighter font in list views dark theme

I enabled dark theme in list view. It looked good except that the red font in the list view looked too dim on my eyes. Is it possible for me to change to a brighter red font or some other brighter color in list view dark theme?

image

Send the screenshot of LIST VIEW with red font in question
Colors used follow Windows colors for dark theme (although Microsoft DOES NOT document dark theme, so you are left dead in the water and you have to figure it yourself). But indeed Windows does not use red and green colors in their UI. Note that actual visual appearance of colors depend on graphic card gamma settings, Windows color management / profile, your monitor gamma settings and other factors beyond control of AmiBroker.
Also slightly darker (lower contrast) colors are used for purpose of reducing eye strain when looking for hours on the screens.

1 Like

Below is a screenshot of the list view with red font. The red font is smaller on the screen. Coupled with the dimness, it is hard on the eyes.
image

From your reply, it seems there's nothing much Amibroker can do since it's out of its control. Thanks for the reply. It gives me a hint on how to fix the problems. I'll see how to adjust Windows display settings.

I deliberately selected this color. I spent couple of hours testing various shades. The same way green is also darker. It is way easier on the eyes than full bright green / red if you stare at the screen for hours. I have been doing it for 25+ years.

Generally colors are tricky, because we have some users with vision problems ("color blindess"). There are many kind of vision problems that may cause difficulty in distinguishing various colors.

UNLIKE big company like Microsoft that despite having thousands of programmers, DOES NOT provide ANY customization for "dark theme", I am going to add customization in the future. This of course requires (AGAIN) re-implementing large portions of Operating System, because Microsoft does NOT provide that in systematic way, so developers have to re-invent the wheel all the time and fixing Windows flaws, instead of doing work on the application itself.

5 Likes

Thank you.

If it's going to take too much of your precious development time, I think it might make more sense to prioritise more time working on the trading features of Amibroker instead of color customization. Hopefully, Microsoft will provide color customization for dark theme in future.

Users like me can always switch back to non dark-mode for list view. No reason why we cannot live with that since we have been living with that for past versions of Amibroker.

No, Microsoft will NOT deliver ANYTHING like that. They don't even deliver non-customizable "dark mode" to 3rd party desktop apps. The API they use is:

  • NOT documented
  • HALF broken (plenty of code required to FIX their errors)
  • works (partially) only on newest versions of Windows 10 (1903 or higher)

It took them couple of years to implement dark mode in "Windows Explorer" (because unlike "Metro" apps, the explorer is DESKTOP application). Yet, despite all that time, they did it wrong.

AmiBroker "dark mode" works on anything, including Windows XP from 19+ years ago, because I re-implemented EVERY BIT in list view control, for single reason: Windows implementation is SO BROKEN in so many places.

How come that multi-billion company can not do ONE thing correctly, while I, ALONE, can do this?

If you look at this from "common sense" point of view, it should be as easy as calling SINGLE function like SelectTheme(), 5 second job. But no, not @Microsoft. They have to f**k up everything. To change theme, instead of one function, they came up with API that has 12 functions, and yet they do not work correctly. They simply have too many programmers and apparently their only job is to make things harder than they should be.

People are coming up with half-working, half-broken "hacks" like those listed here:

but the truth is that the ONLY way to get it done correctly (and support older Windows) is to NOT use broken Windows APIs at all and re-implement everything that Microsoft did wrong.

It takes lots of precious time, but AmiBroker list views are not only "dark" but also 100+ times FASTER than Windows.

4 Likes

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.