Skip to content

ImageButton Padding stops working with .NET 8  #22364

@mattleibow

Description

@mattleibow

Description

Padding seems to stop working after upgrading to .NET 8 on all ImageButton for Android.

Relevant Screenshots

Steps to Reproduce

Add an ImageButton to your page with padding,
Notice how the padding is ignored on Android but works on iOS.

iOS Android

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions