Set TlistView in Delphi FMX to show up horizontally


I have a FireMonkey form with the Tlistview component on it.
It has a Tlayout as its parent.
I want the items in the list should not fill the whole layout it is in, instead, it should fit in the half of width of its parent layout and when the items reach the bottom of the layout it should go to the next column.
In the Tlistbox component (not TlistView) there’s a property named ‘ListStyle’ which can be set to ‘vertical’ or ‘horizontal’, this is just what I’m looking for in Tlistview component.
Any help would be greatly appreciated.

Comments are closed.