-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
Description
On Android setting a Padding on a not visible ImageButton produces incorrect results when it becomes visible.
Expected

Steps to Reproduce
Clone repo, start and click on button "click me". Observe incorrect ImageButton.
or
- Add an ImageButton like so:
<ImageButton
Background="Red"
Padding="50"
IsVisible="False"
Source="dotnet_bot.png"
HeightRequest="185"
x:Name="imageButton"
/>- Make the ImageButton visible in a button click event (
imageButton.IsVisible = true;).
Link to public reproduction project repository
https://github.com/aheubusch/MauiAndroidImageButtonPadding
Version with bug
8.0.91 SR9.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
Nope :(
Relevant log output
No response
