Button with ImageSource that's too big for button renders incorrectly #15004
Labels
area-controls-button
Button, ImageButton
platform/android 🤖
platform/iOS 🍎
platform/macOS 🍏
macOS / Mac Catalyst
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
Creating a button that uses an ImageSource but constrained dimensions (i.e the WidthRequest is too small for the image) will render a button that, depending on the platform will display incorrectly. The image will either be improperly aligned or simply display entirely. Windows seems to be working fine, the other platforms seem to be affected.
Sample code:
On iOS and Mac, the button should have text to repro this bug. On Android the button doesn't need text
iOS
Mac
Android
Steps to Reproduce
Link to public reproduction project repository
(see description)
Version with bug
8.0 previews
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, macOS
Affected platform versions
Mac, Android, iOS
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: