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/UFormAcronyms.pas

    r97 r100  
    4545      Selected: Boolean);
    4646    procedure ListViewFilter1Change(Sender: TObject);
     47    procedure ListViewSort1ColumnWidthChanged(Sender: TObject);
    4748    function ListViewSort1CompareItem(Item1, Item2: TObject): Integer;
    4849    procedure ListViewSort1Filter(ListViewSort: TListViewSort);
     
    235236end;
    236237
     238procedure TFormAcronyms.ListViewSort1ColumnWidthChanged(Sender: TObject);
     239begin
     240  ListViewFilter1.UpdateFromListView(ListViewAcronyms);
     241end;
     242
    237243function TFormAcronyms.ListViewSort1CompareItem(Item1, Item2: TObject): Integer;
    238244begin
Note: See TracChangeset for help on using the changeset viewer.