Label's text isn't displayed on big screen resolution UWP Xamarin.Forms

FeliciaStarinschiFeliciaStarinschi USMember
edited February 5 in Xamarin.Forms

For both platforms iOS and Android label's text is displayed without any problems.
When I debug UWP project on my local machine (with Windows 10, and screen resolution 2K) the text is missing. When I debug on a device with smaller screen resolution- the text is displayed.
During debugging process I tried to resize the window and the text appeared.
I thought that the problem might be in screen resolution. That the machine doesn't manage to draw the text.
Text contains around 50 characters.

Does anybody has any idea what's the problem and how to fix that?

Posted a part of the code from .xaml class where Label's properties are specified, even if it's not so relevant.

                    <ContentPage.Content>
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="0.2*"/>
                                    <RowDefinition Height="0.6*"/>
                                    <RowDefinition Height="0.2*"/>
                                </Grid.RowDefinitions>
                                <Label Grid.Row="0" ></Label>
                                <Grid Grid.Row="1" VerticalOptions="Center">
                                    <StackLayout VerticalOptions="Center" HorizontalOptions="CenterAndExpand" Padding="10">
                                        <Label Text ="{Binding Title}" HorizontalOptions="Center" VerticalOptions="Center" Margin="10" FontSize="Medium" ></Label>
Sign In or Register to comment.