Label in ListView randomly cropping text


#1

I’ve cloned the sample-Groceries repository and switched to the “end” branch.
Navigating to the List view and scrolling up and down, some items get its names cropped randomly.
“Tomatoes” -> "To…"
Sometimes the text isn’t visible at all. Just scroll up and down a list to see the effect.
I’m testing on an Android emulator and tns version 3.0.1.


#2

Try adding textWrap="true" to this line: https://github.com/NativeScript/sample-Groceries/blob/e2e3d4ea443dd772a8ce131b9f7133f6143b9d0c/app/pages/list/list.html#L15


#3

Thanks. Adding textWrap fixed it. This should be added to the tutorial also


#4

@hiperbou feel free to propose changes by clicking the Improve this article buttons after each article.