Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextAlignment not working properly Android only #1152

Open
trusis666 opened this issue Apr 26, 2018 · 0 comments
Open

TextAlignment not working properly Android only #1152

trusis666 opened this issue Apr 26, 2018 · 0 comments

Comments

@trusis666
Copy link

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant