-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Buttons: No response to "Disabled" background and text Color settings #79
Comments
Hi @zanderson9, with all version Material library this bug exists because, the MaterialButtonUI Extends the BasicButtonUI, and BasicButtonUI using this code for paint text
I know this problem, I find it with the test regression, but form moment I don't have a good idea to resolve it, I will work on to find the solution |
Thank you for this detailed explanation. I understand now why the problem exists. |
This issue was fixed, now on the constant UIManager the button response well The constants are
|
With the latest version 1.0.2, I noticed that a disabled button does not respond to the theme settings for color.
I have these entries in UIManager, as an example:
UIManager.put("Button.disabledText", Color.RED);
UIManager.put("Button[disabled].background", Color.BLUE);
But regardless of these settings, the button always appears in Color.Gray (see attached)
The text was updated successfully, but these errors were encountered: