Changeset 175 for trunk


Ignore:
Timestamp:
Feb 26, 2018, 10:08:13 AM (7 years ago)
Author:
chronos
Message:
  • Fixed: Wrong theming of TCustomDrawGrid Editor.
  • Fixed: Update Editor width in TListViewSort filter gridview.
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.lfm

    r173 r175  
    2727    TabOrder = 0
    2828    object ListViewFilter1: TListViewFilter
    29       Left = 10
     29      Left = 4
    3030      Height = 38
    31       Top = 6
    32       Width = 828
     31      Top = 4
     32      Width = 838
    3333      OnChange = ListViewFilter1Change
    3434      Anchors = [akTop, akLeft, akRight]
    3535    end
    3636    object ListViewAcronyms: TListView
    37       Left = 10
    38       Height = 427
    39       Top = 44
    40       Width = 829
     37      Left = 4
     38      Height = 432
     39      Top = 42
     40      Width = 838
    4141      Anchors = [akTop, akLeft, akRight, akBottom]
    4242      Columns = <     
  • trunk/Languages/AcronymDecoder.cs.po

    r174 r175  
    922922msgid "Process import sources"
    923923msgstr "Zpracovat zdroje importu"
     924
  • trunk/Packages/Common/UListViewSort.pas

    r174 r175  
    144144begin
    145145  with FStringGrid1 do begin
     146    Options := Options - [goEditing, goAlwaysShowEditor];
    146147    //Columns.Clear;
    147148    while Columns.Count > ListView.Columns.Count do Columns.Delete(Columns.Count - 1);
     
    150151      Columns[I].Width := ListView.Columns[I].Width;
    151152    end;
     153    Options := Options + [goEditing, goAlwaysShowEditor];
    152154  end;
    153155end;
  • trunk/Packages/Common/UTheme.pas

    r174 r175  
    138138    Control := (Component as TControl);
    139139    if (Control is TEdit) or (Control is TSpinEdit) or (Control is TComboBox) and
    140     (Control is TMemo) or (Control is TListView) or (Control is TStringGrid) or
     140    (Control is TMemo) or (Control is TListView) or (Control is TCustomDrawGrid) or
    141141    (Control is TCheckBox) then begin
    142142      Control.Color := FTheme.ColorWindow;
     
    145145      Control.Color := FTheme.ColorControl;
    146146      Control.Font.Color := FTheme.ColorControlText;
     147    end;
     148
     149    if Control is TCustomDrawGrid then begin
     150      (Control as TCustomDrawGrid).Editor.Color := FTheme.ColorWindow;
     151      (Control as TCustomDrawGrid).Editor.Font.Color := FTheme.ColorWindowText;
    147152    end;
    148153  end;
  • trunk/UCore.lfm

    r169 r175  
    34443444    AppName = 'Acronym Decoder'
    34453445    Description = 'Simple tool for quick searching of meaning for various acronyms and abbreviations.'
    3446     ReleaseDate = 43046
     3446    ReleaseDate = 43157
    34473447    RegistryKey = '\Software\'
    34483448    RegistryRoot = rrKeyCurrentUser
Note: See TracChangeset for help on using the changeset viewer.