Forum Xamarin.Forms

Button Image Aligment on iOS

oliveiravitor3oliveiravitor3 BRMember ✭✭
edited July 2017 in Xamarin.Forms

I'm working with Xamarin Forms and the Button Image it's ok in Android, but not in iOS

this is the XAML

<Button x:Name="BtnOcorrencia" Image="ic_ocorrencia2" ContentLayout="top,0" BackgroundColor="White" TextColor="#05234f"  Text="Ocorrências" VerticalOptions="Center" HorizontalOptions="Center"   WidthRequest="120" HeightRequest="110" TranslationX="0"  />

The image is misaligned with the text inside the button, as in the attached image.

I try change ContentLayout but I failed,

Someone can help me?


Sign In or Register to comment.