xamarin/Xamarin.Forms
[Bug] Listview - Label rendering Bindings Layout options
Offen
#6.370 geöffnet am 31.05.2019
a/listviewe/4 :clock4:help wantedinactivet/bug :bug:up-for-grabs
Repository-Metriken
- Stars
- (5.644 Sterne)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
Description
When populating a ListView with a custom ViewCell and at least a Label inside with Text set to a Binding, rendered text shows up cut or misaligned. Text set within the XAML won't reproduce this
Steps to Reproduce
- Create a ListView
- Create a ViewCell with a label inside with VerticalOptions set to Center and HorizontalOptions set to Center
- Bind Text to a property
Expected Behavior
Text showing up correctly when scrolling
Actual Behavior
Label text gets cut or misaligned
Basic Information
- Version with issue: 4.0.0.425677
- Last known good version: --
- IDE: Visual Studio Mac 2019 and Visual Studio 2019
- Platform Target Frameworks: - Android: 8.1
- Android Support Library Version: v28.0.1
- Nuget Packages: Basic Nugets from a fresh project - Essentials. Xamarin.Forms, Support Libraries
- Affected Devices: Samsung Galaxy S9, Emulator, Huawei P20 Lite, etc.
Screenshots

Repro vídeo: https://streamable.com/y8gqp
Reproduction Link
See project -> https://github.com/bcaceiro/XamarinTests Click on ListView Tests, scroll until you find a broken Label (target is in the lower right corner)