TListView Variable Height Items

I’m using the sample code from the RADStudio13 github, but have run into an off issue on Android.

The height returned by the GetTextHeight function is less than it should be. If I rotate the device to landscape then back again the height (and rendering) is correct. Any ideas?

OK, I have solved this by explicitly setting the font size in the UpdateObjects event.

I was not setting the font size at all and it was using 14 in some places and 18 in others.

The demo project doesn’t expose this issue as it’s randomising the font size as part of it.

Was it using parent font in some cases and not others?

I had not set anything to do with fonts. It did work correctly for the Win64 version, just not the Android one.