1) Set up a label, and give it a high max lines value.
2) Feed it a long sentence with lots of line breaks.
3) Set it up in a layout, where it should fill remaining space. For example occupy a row in a grid with star option.
Problem: The label always draws all lines, up 'til max lines, instead of filling available space.
Expected: The label should occupy the space it's allocated.
Workaround/hack:
Everything works normally if one sets a low HeightRequest on it, I set HeightRequest to 1 and it draws fine now.
1) Set up a label, and give it a high max lines value. 2) Feed it a long sentence with lots of line breaks. 3) Set it up in a layout, where it should fill remaining space. For example occupy a row in a grid with star option.
Problem: The label always draws all lines, up 'til max lines, instead of filling available space. Expected: The label should occupy the space it's allocated.
Workaround/hack: Everything works normally if one sets a low HeightRequest on it, I set HeightRequest to 1 and it draws fine now.
Tested only on iOS.