Xamarin Forms Label - Justify?

前端 未结 10 2043

I just wanted to ask if there is any way to justify text in a Label. I am using Xamarin Forms Xaml.

Thanks.

UPDATE:

10条回答
  •  攒了一身酷
    2020-12-07 02:22

    If you use the Label under relativeLayout you can justify the label..

    The trick is you must fill the width & height as per parent..

    So I use HeightConstraint,WidthConstraint with factor=1.. so it take full width & height of the parent..

      
    
        
    

提交回复
热议问题