在 Windows 较大的项目选择上增加 space / TListView 项目(和 TTreeView 项目)之间的高度

Increase space / height between TListView items (and TTreeView items) on Windows larger items selection

我使用 Borland C++ Builder 2009(但我假设 Delphi 的问题和解决方案是相同的),现在我假设我正在寻找的答案对于两者都是相同的 TListView 项和 TTreeView 项。我可能错了!?

我注意到,在较小的 Win 8.1 笔记本电脑上,显示设置 'Change the size of all items' 设置为 125%。 TreeView 和 ListView 中的项目彼此靠得更近。

我还没有测试 150%,我想它会更糟。

如果可能的话,我想对此进行调整。 I assume the same logic goes for when a larger sized font is chosen to display these items ?

  1. 如果项目的高度 'too' 大并且项目之间需要多一点 space,您将如何测试?

  2. 你会如何增加它们之间的间距?考虑到我的 ListView 实现是虚拟的 (ListView->OwnerData = true ;) !

TForm 已 缩放 属性。如果它是 true,表单上的所有组件都应该根据字体大小自动调整大小。我现在无法检查这是否适用于 TListView 和 TTreeView,但无论如何你应该检查这个 属性。