Xamarin Forms Image fill width with proper aspect

后端 未结 11 2212
我寻月下人不归
我寻月下人不归 2020-12-09 08:05

Here is xaml (an image in stacklayout). Everything is logical: I set Aspect to AspectFit and HorizontalOptions to FillAndExpand. Width of image must fill the width of stackl

11条回答
  •  南笙
    南笙 (楼主)
    2020-12-09 08:54

    It work with me

    
      
             Source="https://pbs.twimg.com/media/DzZdI3AWkAYxH13.jpg" />
    
    

提交回复
热议问题