Ignore:
Timestamp:
Aug 31, 2018, 3:38:01 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Updated Common package files.
  • Fixed: Autosize coolbar during main form resize.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r184 r200  
    125125    procedure EditSearchChange(Sender: TObject);
    126126    procedure FormHide(Sender: TObject);
     127    procedure FormResize(Sender: TObject);
    127128    procedure FormShow(Sender: TObject);
    128129    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
     
    228229end;
    229230
     231procedure TFormMain.FormResize(Sender: TObject);
     232begin
     233  CoolBar1.AutosizeBands;
     234end;
     235
    230236procedure TFormMain.FormClose(Sender: TObject; var CloseAction: TCloseAction);
    231237begin
     
    517523    ListViewFilter1.StringGrid.SetFocus;
    518524  end;
     525  Core.ScaleDPI1.ScaleControl(CoolBar1, Core.ScaleDPI1.DesignDPI);
     526  CoolBar1.AutosizeBands;
    519527end;
    520528
Note: See TracChangeset for help on using the changeset viewer.