Forum Xamarin Xamarin.Forms

ListView text gets cut when I scroll back up

Is any one else facing this problem? The text looks okay at first. But if I scroll down few items and then go back up, label text of many items gets cut in the middle.
I tried using ImageCell but the image becomes huge on WP8.1.

I'm adding Items on the go as I scroll down using
Hence I cant use a solution which resets me to the top.

         <StackLayout Padding="20,10,20,10">
            <Grid ColumnSpacing="10" RowSpacing="10">
                <ColumnDefinition Width="80"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="30"></RowDefinition>
                <RowDefinition Height="30"></RowDefinition>

              <Image Source="{Binding Image}" Grid.Row="1" Grid.RowSpan="2" Grid.Column="0"
                     Aspect="AspectFill" HorizontalOptions="Start"></Image>

              <Label Text="{Binding Title}" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" FontSize="Medium"
                     XAlign="Start" HorizontalOptions="StartAndExpand" YAlign="Start" LineBreakMode="CharacterWrap" MinimumHeightRequest="60"> </Label>
              <Label Text="{Binding Description}" Grid.Row="1" Grid.RowSpan="2" Grid.Column="1"
                     FontSize="14" XAlign="Start" HorizontalOptions="StartAndExpand" YAlign="Start" LineBreakMode="CharacterWrap" ></Label>



  • capitolcapitol Member ✭✭

    I'm having the same issue with stacklayouts within a listview.

    The label gets cut off at the end when i scroll up and down. Sometimes it comes back then disappears again.

  • capitolcapitol Member ✭✭

    HorizontalOptions="FillAndExpand" was what was missing from the stacklayout....

Sign In or Register to comment.