Xamarin Forms Label - Justify?

前端 未结 10 2090

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:29

    What sort of container are you using to hold the text? Having a StackLayout with HorizontalOptions of FillAndExpand, along with the XAlign, might do it, but only if your text is only one line long per control.

提交回复
热议问题