更改ListView项的高度 [英] Change Listview item height

查看:279
本文介绍了更改ListView项的高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要让每个列表项之间的空间。是否有可能改变ListView项高度德尔福?

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

推荐答案

什么模式为你的的TListView 吗? (有4个,事情改变不同的模式 - 这就是为什么有摆在首位不同的模式。)

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.)

既然你问的高度,我猜你在 vsList 模式下。在这种情况下,每行的高度由 SmallImages 图像列表的高度确定。您可以通过该分配更高的图像改变行的高度的ImageList

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.

这篇关于更改ListView项的高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆