view – Owl's Blog on .NET development http://www.componentowl.com/blog Component Owl codes Better ListView control all night so you don't have to. Tue, 04 Sep 2018 13:10:05 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.8 Custom Spacing between Items in Details View http://www.componentowl.com/blog/custom-spacing-between-items-in-details-view/ http://www.componentowl.com/blog/custom-spacing-between-items-in-details-view/#respond Tue, 13 Mar 2012 22:53:09 +0000 http://www.componentowl.com/blog/?p=753 Better ListView 2.6 newly supports custom spacing between items in Details view:

Custom Spacing between Items

Custom Spacing between Items

This property has been recently available in other views, but Details view was exception since its selections needed to be treated in different way: They overlap by 1 pixel so that the double border is avoided in neighboring selections:

1 px overlap of items

1 px overlap of items

We have resolved this to get proper behavior with custom spacings and now the spacing can be set the same way as in any other view:

Simply set LayoutItemsCurrent.ElementOuterPadding to have custom horizontal and vertical padding between items.

You can set this specifically for Details view by refering to property LayoutItemsDetails or LayoutItemsDetailsColumns (Details view with columns).

]]>
http://www.componentowl.com/blog/custom-spacing-between-items-in-details-view/feed/ 0