Does the Qt5 LCL widget set implement this method if the item sizes are uniform?It is called in TQtWSCustomComboBox.CreateHandle() and in TQtWSCustomComboBox.SetItemHeight().
It is called in TQtWSCustomComboBox.CreateHandle() and in TQtWSCustomComboBox.SetItemHeight().
You can study and debug the code and create patch to improve it.
I have no idea why setUniformItemSizes() is needed or what happens if you enable it always.
It looks as if I would need to modify TQtWSCustomListBox in lcl/interfaces/qt5/qtwsstdctrls.pp to do something similar for TListBox.Sorry, my answer was a bit sloppy. I just searched the sources for setUniformItemSizes.