Change Listview item height

后端 未结 2 469
谎友^
谎友^ 2021-01-13 07:56

I need to make more room between each list item. Is it possible to change Listview item height in Delphi?

2条回答
  •  旧巷少年郎
    2021-01-13 08:22

    What mode is your TListView in? (There are 4, and things change for different modes - that's why there are different modes in the first place.)

    Since you're asking about height, I'm guessing you're in vsList mode. In this case, the height of each row is determined by the height of the SmallImages Imagelist. You can change the row height by assigning taller images to that ImageList.

提交回复
热议问题