-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Implement Padding property in ImageButtonHandler #4665
Conversation
@jsuarezruiz I don't see the padding value influencing MacCatalyst at all in the ImageButton gallery page. |
@jsuarezruiz I happened to be looking into this because I noticed it wasn't implemented yet, and noticed that your Android implementation won't work as expected due to an Android Framework bug which pads the entire button rather than just the content area (material-components/material-components-android#2063). I propose the following for the Android implementation:
which results in this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The padding may be wrong and there might be an android bug that we need to work around.
Used the Jimmy workaround. Thanks for include the issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests are failing on Android
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
Description of Change
Implement Padding property in ImageButton.
PR Checklist
Does this PR touch anything that might affect accessibility?