Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

ListView text gets cut when I scroll back up

$
0
0

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 https://github.com/mattwhetton/Codenutz.XF.InfiniteListView
Hence I cant use a solution which resets me to the top.

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

              <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>

            </Grid>
          </StackLayout>
        </ViewCell.View>
      </ViewCell>

Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>