List similar to a ListBox

  

I’m using FireMonkey/XE8

I need a list, which items can have two rows and multiple columns of labels.

I made an image for better understanding. (grey = background, turquoise = item)

image

I already tried using a custom listbox-style but I struggled how to adjust the label positions for different widths
(I guess I’d have to change the style at runtime somehow)

Then somebody suggested me using a base class (like TStyledControl) and handle all the drawing by myself (maybe someone has an example for this?).

Is there a component that can do something like that?
Are there other options/approaches for this?

Comments are closed.