Has anyone figured out how to center (or justify or in any way horizontally effect) text in a Xamarin Forms Label with LineBreakMode=WordWrap
? Without using a WebView (or similar)?
All HorizontalOptions
entries are cheerfully ignored in this code snippet:
<StackLayout>
<Label
Margin="75,0,75,0"
FontAttributes="Italic"
FontSize="Large"
HorizontalOptions="Center"
LineBreakMode="WordWrap"
Text="Live life as though nobody is watching, and express yourself as though everyone Is listening."
VerticalOptions="CenterAndExpand" />
</StackLayout>
It looks like this.