fuselibs icon indicating copy to clipboard operation
fuselibs copied to clipboard

TextAlignment not working properly Android only

Open trusis666 opened this issue 6 years ago • 0 comments

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:

trusis666 avatar Apr 26 '18 13:04 trusis666