语言

Menu
Sites
Language
Long Text not break word in wearable (galaxy active 2)

Hello,

I designed screen display long text in wearable, but long text hidden and not break word to new lines, like image below

https://drive.google.com/file/d/14_H-oHnmTtVG1R0RekDChkuKoFtho45j/view?usp=sharing

Can someone help me figure out problem with this? this is my code

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
    x:Class="sds.Views.LogoutPopupPage"
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    NavigationPage.HasNavigationBar="False"
    xmlns:c="clr-namespace:Tizen.Wearable.CircularUI.Forms;assembly=Tizen.Wearable.CircularUI.Forms"
    xmlns:res="clr-namespace:sds.Resources">
    <ContentPage.Content>
        <FlexLayout  HorizontalOptions="FillAndExpand">
            <ImageButton
                FlexLayout.Shrink="0"
                Source="button_exit.png" 
                VerticalOptions="CenterAndExpand"
                Clicked="ButtonCancel_Clicked"/>
            <ScrollView
                Orientation="Vertical"
                HorizontalOptions="FillAndExpand" 
                VerticalOptions="FillAndExpand">
                <StackLayout
                    VerticalOptions="CenterAndExpand">
                    <Label
                        HorizontalTextAlignment="Center"
                        TextColor="{StaticResource MainColor}"
                        Text="{x:Static res:AppResources.SignOut}"/>
                    <Label
                        x:Name="detail"
                        Margin="0,0,0,100"
                        HorizontalOptions="CenterAndExpand"
                        Text="Are you sure you want to log out?_x000B_When you log out, you do not receive status information and notifications for all tasks."
                        TextColor="White"
                        FontSize="Default"/>
                </StackLayout>
            </ScrollView>
            <ImageButton
                FlexLayout.Shrink="0"
                Source="button_check.png"
                VerticalOptions="CenterAndExpand"
                Clicked="ButtonOk_Clicked"/>
        </FlexLayout>
    </ContentPage.Content>
</ContentPage>

 

 

 

 

编辑者为: Binh Nguyen Van 08 3月, 2021