[Android] ImageButton CornerRadius has nothing to do with Xamarin.Forms CornerRadius #24939
Labels
area-controls-button
Button, ImageButton
migration-compatibility
Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert
t/bug
Something isn't working
Description
I'm migrating my app from Xamarin.Forms to MAUI and I found out that the CornerRadius property is very differnt from the one in Xamarin.Forms.
I have this control:
<ImageButton WidthRequest="150" HeightRequest="150" CornerRadius="75" Source="{Binding UserPhoto}" Aspect="AspectFill" HorizontalOptions="Center" Style="{StaticResource ImageButton}" />
The exact same code in Maui looks like this:
Migrating my app I'm finding a lot of things like this, I don't want to be mean, but almost everything in Maui feels like a donwgrade from its predecessor.
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
9.0.0-rc.1.24453.9
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
I was not able test on other platforms
Affected platform versions
No response
Did you find any workaround?
Using clip or creating a custom control does the job.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: