-
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
ImageButton wrong size and missing border on Android #25034
Comments
Can you maybe try the latest version 8.0.91 and let us know if it still is an issue there? |
It's still happening after updating all Maui packages to 8.0.91 |
This issue has been verified using Visual Studio 17.12.0 Preview 2.1(8.0.91 & 8.0.82). Can repro this issue on android platform. |
It does seem to work in .NET 9 when I put the ImageButton in the XAML as you have. Thanks! |
Description
When you give an ImageButton a border, padding, and size requests, the border is not visible and the image is the wrong size. This happens on Android but not on iOS.
Steps to Reproduce
App()
with below:Expected outcome: The image has expected (larger) size and has a visible border.
Link to public reproduction project repository
No response
Version with bug
8.0.82 SR8.2
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 14 (Pixel Fold)
Did you find any workaround?
Do not set padding on the ImageButton
Relevant log output
No response
The text was updated successfully, but these errors were encountered: