Ignore:
Timestamp:
Aug 31, 2016, 9:57:15 AM (8 years ago)
Author:
chronos
Message:
  • Added: Resize ListView filter column width according ListView column width.
  • Fixed: Row height in ListView to respect visual styles.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormImportSources.pas

    r97 r100  
    5656      Selected: Boolean);
    5757    procedure ListViewFilter1Change(Sender: TObject);
     58    procedure ListViewSort1ColumnWidthChanged(Sender: TObject);
    5859    function ListViewSort1CompareItem(Item1, Item2: TObject): Integer;
    5960    procedure ListViewSort1Filter(ListViewSort: TListViewSort);
     
    128129end;
    129130
     131procedure TFormImportSources.ListViewSort1ColumnWidthChanged(Sender: TObject);
     132begin
     133  ListViewFilter1.UpdateFromListView(ListView1);
     134end;
     135
    130136function TFormImportSources.ListViewSort1CompareItem(Item1, Item2: TObject
    131137  ): Integer;
     
    235241var
    236242  NewImportSource: TImportSource;
    237   I: Integer;
    238243begin
    239244  if Assigned(ListView1.Selected) then begin
Note: See TracChangeset for help on using the changeset viewer.