I'm working on a Mac installer using InstallAware Multi-Platform. After creating the DMG file, I noticed that when I open the DMG in light mode, some text appears in black, making it hardly visible.
Please note: The issue occurs when I open the installer directly in light mode, not when switching themes while the installer is running.
Font color turns black in Mac light mode, making text hard to read.
-
- Posts: 28
- Joined: Wed Feb 05, 2025 6:13 am
Re: Font color turns black in Mac light mode, making text hard to read.
That's a great question!
The fonts automatically adjust to light/dark themes, when you have actually set them to certain color constants, instead of hard-coding their colors.
I believe clWindowText may be one that is set to adjust automatically.
Can you please confirm which color you have assigned to your font with detailed screenshots?
That ought to help narrow down the issue.
The fonts automatically adjust to light/dark themes, when you have actually set them to certain color constants, instead of hard-coding their colors.
I believe clWindowText may be one that is set to adjust automatically.
Can you please confirm which color you have assigned to your font with detailed screenshots?
That ought to help narrow down the issue.
John Gaver
InstallAware Skunkworks
InstallAware Multi Platform - Liberating DEB/RPM/PKG/MSI(X) into universal native setups!
Get your free copy today - https://www.installaware.com/installaware-multi-platform.htm
InstallAware Skunkworks
InstallAware Multi Platform - Liberating DEB/RPM/PKG/MSI(X) into universal native setups!
Get your free copy today - https://www.installaware.com/installaware-multi-platform.htm
-
- Posts: 28
- Joined: Wed Feb 05, 2025 6:13 am
Re: Font color turns black in Mac light mode, making text hard to read.
[img]
Just observe the checkbox in light mode; its color automatically turns black. My font property is set to clWhite.
You can reproduce this issue using the following steps:
Create a new project using InstallAware Multi-Platform.
Under Templates, choose Empty Setup.
Select the LicenseCheck dialog, add a checkbox, and change its color to white.
Now, build and run the DMG in light mode—the checkbox color appears black.
[/img]Just observe the checkbox in light mode; its color automatically turns black. My font property is set to clWhite.
You can reproduce this issue using the following steps:
Create a new project using InstallAware Multi-Platform.
Under Templates, choose Empty Setup.
Select the LicenseCheck dialog, add a checkbox, and change its color to white.
Now, build and run the DMG in light mode—the checkbox color appears black.
- Attachments
-
- Screenshot 2025-02-12 at 11.56.52 AM.png (289.02 KiB) Viewed 16038 times
Re: Font color turns black in Mac light mode, making text hard to read.
So yes, that's exactly what I had predicted in my preceding post, isn't it?
Can you try a color constant like clWindowText for your control (instead of hard-coding a color, which then naturally cannot be overridden), and let me know if that solves your problem?
Can you try a color constant like clWindowText for your control (instead of hard-coding a color, which then naturally cannot be overridden), and let me know if that solves your problem?
John Gaver
InstallAware Skunkworks
InstallAware Multi Platform - Liberating DEB/RPM/PKG/MSI(X) into universal native setups!
Get your free copy today - https://www.installaware.com/installaware-multi-platform.htm
InstallAware Skunkworks
InstallAware Multi Platform - Liberating DEB/RPM/PKG/MSI(X) into universal native setups!
Get your free copy today - https://www.installaware.com/installaware-multi-platform.htm
-
- Posts: 28
- Joined: Wed Feb 05, 2025 6:13 am
Re: Font color turns black in Mac light mode, making text hard to read.
It's not working after adding clWindowText; it turns black again in light mode. In fact, assigning any color to the checkbox text does not change its appearance.
Re: Font color turns black in Mac light mode, making text hard to read.
Strange to hear!
Can you check a built-in theme (like macOS or Official) to see what color they have assigned the TCheckBox controls?
Also please ensure you're checking the Font.Color property in addition to the Color property (as the two are distinct).
Can you check a built-in theme (like macOS or Official) to see what color they have assigned the TCheckBox controls?
Also please ensure you're checking the Font.Color property in addition to the Color property (as the two are distinct).
John Gaver
InstallAware Skunkworks
InstallAware Multi Platform - Liberating DEB/RPM/PKG/MSI(X) into universal native setups!
Get your free copy today - https://www.installaware.com/installaware-multi-platform.htm
InstallAware Skunkworks
InstallAware Multi Platform - Liberating DEB/RPM/PKG/MSI(X) into universal native setups!
Get your free copy today - https://www.installaware.com/installaware-multi-platform.htm
Who is online
Users browsing this forum: No registered users and 49 guests