Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 19701 [details]
Sample showing issue
When using a ListView, if a label has text that contains newlines, we get different behavior on each platform.
On iOs: The cell doesn’t expand, it ignores the bottom padding set, and the last item is cut at the bottom of the cell.
On Android: The cell doesn’t expand, it keeps the bottom padding, and removes part of the string that won’t fit.
On Windows UWP: The Cell expands to fit the entire string, and keeps the bottom padding
Note that if HasUnevenRows is set to TRUE, on all platforms the cell will expand and show the full string, and keep the bottom padding.
Is this the expected behavior when a ListView contains a cell with a label that has a string containing newlines?
This was tested on the latest version (18.104.22.168) as well as the latest preview version (22.214.171.124).
This is the expected behavior.