Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Adjustments in Xamarin #1565

Open
Vuyiswamb opened this issue Jun 2, 2022 · 0 comments
Open

Image Adjustments in Xamarin #1565

Vuyiswamb opened this issue Jun 2, 2022 · 0 comments

Comments

@Vuyiswamb
Copy link

Good Day All

i have the following Image from this

https://docs.microsoft.com/answers/storage/attachments/207702-example.png

and it displays like this

https://docs.microsoft.com/answers/storage/attachments/207693-badimage.png

and my xaml that shows the image is

<ffimage:CachedImage    x:Name="img_profile_picture"      Aspect="AspectFill"
                     BackgroundColor="{DynamicResource Gray-200}"                        
                     HeightRequest="80"                        
                     Source="{Binding ProfileImage}"
                     WidthRequest="80">
    
                         <ffimage:CachedImage.GestureRecognizers>
                             <TapGestureRecognizer NumberOfTapsRequired="1" Tapped="TapGestureRecognizer_Tapped_1" />
                         </ffimage:CachedImage.GestureRecognizers>
    
                     </ffimage:CachedImage> 

how can i make it scale so that the whole image can be visible.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant