Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Frame + Images == Round Image? .....false, just an image with the corners cut off

$
0
0

Goal is to have images inside a circle.

Currently, the image will appear, but have the corners will be cut off. I tried to increase the size, but the image got resized to the smaller than Frame's height/width.

Is this a fundamental thing in Frames or there a setting I am not aware of?

<Frame WidthRequest="144" 
          HeightRequest="144" 
          CornerRadius="244" 
          HorizontalOptions="Center"
          BackgroundColor="Gray"
          >
          <Image Source="{Binding MyPicture}"
                    HeightRequest="544"
                    WidthRequest="544"
                    />
</Frame>

No luck in round image when setting the Image to:
- Aspect="AspectFill"
- HorizontalOptions="FillAndExpand"
- VerticalOptions="FillAndExpand"


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>