jamesmontemagno / ImageCirclePlugin

Circle Images for your Xamarin.Forms Applications
MIT License
240 stars 68 forks source link

Why the image circle is crushed? #25

Closed biapar closed 7 years ago

biapar commented 7 years ago

Hi,

I tried some height and width but I see alway the image crushed. Why? The image is into a grid cell. I tried to config the row height, too.

image

jamesmontemagno commented 7 years ago

without the code can't be sure, but make sure that you have things set to fill and expand for height and width.

biapar commented 7 years ago

This is the code: <imagecircle:CircleImage IsVisible="{Binding IsBusy}" x:Name="Avatar" Grid.Column="0" FillColor="{DynamicResource Primary}" Source="{Binding AvatarUrl}" VerticalOptions="Center" Aspect="AspectFill">

oridotaoyebode commented 7 years ago

@biapar did you find a solution to this?

oridotaoyebode commented 7 years ago

found a solution. Mark your parent control with FillAndExpand for HorizontalOptions and VerticalOptions @biapar @jamesmontemagno