Delphi DX Seattle FMX TListView HeaderItem – Hide white Shadow text on non white background

  

I have noticed that when you change the ListView header background color there is a weird white text like shadow

does anyone know how to get rid of the white shadow?

Steps to reproduce

Create a FMX project, put a list view on it and align it to client
right click on the listview and choose edit custom style
In the lv1style1: TFmxObject find the header structure

select the source link property and move the default selected area to some other color

populate the list view on form create – with the code like this

var lvitem : TListViewItem;
begin
lvitem := lv1.Items.Add;
lvitem.Text := ‘Header’;
lvitem.Purpose := TListItemPurpose.Header;
lvitem.Detail := ”;

lvitem := lv1.Items.Add;
lvitem.Text := ‘none’;
lvitem.Purpose := TListItemPurpose.None;

lvitem := lv1.Items.Add;
lvitem.Text := ‘footer’;
lvitem.Purpose := TListItemPurpose.Footer;

if you have any questions please comment below
Any help would be appreciated.

Comments are closed.