-
Notifications
You must be signed in to change notification settings - Fork 1.9k
ImageButton Padding stops working with .NET 8 #22364
Copy link
Copy link
Closed
Labels
area-controls-buttonButton, ImageButtonButton, ImageButtonfixed-in-8.0.60fixed-in-9.0.0-preview.5.24307.10i/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionmigration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-ConvertXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convertplatform/androids/triagedIssue has been reviewedIssue has been reviewed
Milestone
Metadata
Metadata
Assignees
Labels
area-controls-buttonButton, ImageButtonButton, ImageButtonfixed-in-8.0.60fixed-in-9.0.0-preview.5.24307.10i/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionmigration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-ConvertXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convertplatform/androids/triagedIssue has been reviewedIssue has been reviewed
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
Padding seems to stop working after upgrading to .NET 8 on all
ImageButtonfor Android.Relevant Screenshots
Steps to Reproduce
Add an
ImageButtonto your page with padding,Notice how the padding is ignored on Android but works on iOS.
Link to public reproduction project repository
https://github.com/FreakyAli/Maui.FreakyControls/tree/r4-gh/fix/pin-control
Version with bug
8.0.3
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
7.0.101
Affected platforms
Android
Affected platform versions
Android 12 and 13
Did you find any workaround?
NO
Relevant log output
No response