2017-08-23 40 views
1

私はそれは私が言葉を参照してください表示さ<TableSection>StackLayout内のテキストが折り返し表示されないのはなぜですか?カテゴリグループに</p>が <blockquote> <p>をクリックして、残りはカットされ</p> </blockquote> <p>選択:

<?xml version="1.0" encoding="UTF-8"?> 
<ViewCell 
    xmlns="http://xamarin.com/schemas/2014/forms" 
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" 
    x:Class="Japanese.CategoryGroupCommentViewCell"> 
    <StackLayout 
     Orientation="Horizontal" 
     Padding="20,10" 
     BackgroundColor="#EAEAF1"> 
     <Label 
      Style="{DynamicResource ListItemDetailTextStyleStyle}" 
      TextColor="#59595F" 
      LineBreakMode="WordWrap" 
      Text="Click on the Category Groups and then select one or more Categories from the page that appears" 
      VerticalOptions="Center"/> 
    </StackLayout> 
    </ViewCell> 

の内側に表示されます。このコードを持っていますオフ。

また、私はこれを試み、それは同じです:

<ViewCell 
    xmlns="http://xamarin.com/schemas/2014/forms" 
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" 
    x:Class="Japanese.CategoryGroupCommentViewCell"> 
    <Grid 
     VerticalOptions="CenterAndExpand" 
     Padding="20,10" 
     BackgroundColor="#EAEAF1"> 
     <Label 
      Style="{DynamicResource ListItemDetailTextStyleStyle}" 
      TextColor="#59595F" 
      Text="Click on the Category Groups and then select one or more Categories from the page that appears" 
      HorizontalOptions="FillAndExpand" 
      VerticalOptions="CenterAndExpand"/> 
    </Grid> 
</ViewCell> 

誰もが私が間違っているかもしれないものを教えてもらえますか?

+0

あなたはコード全体を共有できますか?あなたはテーブルビューを設定しましたか? –

答えて

2

オリエンテーションプロパティを削除してくださいと

それを試してみてくださいEDITED

あなたがそこに入れて、あなたののListViewに = "真" HasUnevenRowsを追加した場合、あなたののListViewがRowHeightを削除します

+0

私はそれを試して、それは同じです:-( – Alan2

+0

@Alan私の編集された答えを見て、あなたの助けを望む –

関連する問題