Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color of Buttons #168

Open
ankkrish opened this issue Sep 12, 2024 · 4 comments
Open

Color of Buttons #168

ankkrish opened this issue Sep 12, 2024 · 4 comments

Comments

@ankkrish
Copy link

BtnEqualTextColor is blank. Also, the text color of all the buttons is blank in the dark theme. Forked and modified in the latest commit e540463.
Screenshot 2024-09-12 at 9 31 12 PM
Screenshot 2024-09-12 at 9 31 41 PM
Screenshot 2024-09-12 at 9 32 12 PM
Screenshot 2024-09-12 at 9 32 54 PM

@ankkrish
Copy link
Author

Color of the buttons after the change.
Screenshot 2024-09-12 at 10 12 58 PM
Screenshot 2024-09-12 at 10 13 27 PM
Screenshot 2024-09-12 at 10 14 00 PM
Screenshot 2024-09-12 at 10 14 52 PM

@jxc876
Copy link

jxc876 commented Nov 2, 2024

Noticed the same issue when I cloned the repo

@sycamoremoon
Copy link

sycamoremoon commented Nov 4, 2024

Seem that the issue happens on macOS.
I had same issue when I ran program on macOS(m3, 15.1, java21) but it's fine when I ran on linux(x86-64, Ubuntu 20.04, java11)

sycamoremoon added a commit to sycamoremoon/Calculator that referenced this issue Nov 15, 2024
Use getCrossPlatformLookAndFeelClassName() to force cross-platform
styles instead of macOS system styles.  This avoids system style
restrictions on button appearance.
@sycamoremoon
Copy link

Hey,It seems fine after PR #174

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants