Uno: Button with Text does not correctly show on Android

Created on 12 Jun 2018  路  2Comments  路  Source: unoplatform/uno

I put a simple

<Button>OK</Button>

But on Android it only renders the Button, without the Text
On UWP, it renders OK.

If I change to

<Button><TextBlock>OK</TextBlock></Button>

Then it renders correctly on Both.

kinbug

Most helpful comment

The ContentProperty attribute's behavior in the source generator is incorrect for implicit string content.

This will soon be fixed.

Thanks!

All 2 comments

The ContentProperty attribute's behavior in the source generator is incorrect for implicit string content.

This will soon be fixed.

Thanks!

Fixed as part of #43

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MartinZikmund picture MartinZikmund  路  4Comments

MartinZikmund picture MartinZikmund  路  3Comments

SuperJMN picture SuperJMN  路  3Comments

jeromelaban picture jeromelaban  路  3Comments

MartinZikmund picture MartinZikmund  路  3Comments