fuselibs
fuselibs copied to clipboard
TextAlignment not working properly Android only
Reported in a forum.
Fuse 1.8.1 MacOS 10.12 Android 8.0.0 and 6.0.1 iPhone 7 / iOs 11.3
Issue:
Text
with TextAlignment="Center"
inside element who has fixed width on Android moves to the right side and goes outside the parent element. On iOs works as expected.
Code to reproduce:
<App>
<StackPanel Alignment="Center">
<Panel Width="200" Alignment="Center" Height="50" Background="Green">
<Text Value="This item has very long name with fixed width" FontSize="15" Color="#031422" TextAlignment="Center" />
</Panel>
<Panel Width="200" Alignment="Center" Height="50" Background="Green">
<Text Value="This item has very long name with fixed width" FontSize="15" Color="#031422" />
</Panel>
</StackPanel>
</App>
Android:

iOs:
