Ignore:
Timestamp:
May 22, 2018, 9:43:29 AM (6 years ago)
Author:
chronos
Message:
  • Fixed: Keep correctly main form dimensions in non-maximized state. Scaling DPI was affecting its size and position.
  • Added: Remember last opened tab in New game form.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r206 r207  
    149149  FormClient.ManualDock(PanelMain, nil, alClient);
    150150  FormClient.Align := alClient;
    151   FormClient.Show;
    152151end;
    153152
     
    179178procedure TFormMain.FormShow(Sender: TObject);
    180179begin
     180  Core.LoadConfig;
     181  Core.ScaleDPI;
     182  Core.PersistentForm.Load(Self, True);
    181183  Core.Init;
    182184  LoadConfig(Core.XMLConfig1, 'FormMain');
    183   Core.PersistentForm.Load(Self, True);
    184185  ReloadView;
     186  FormClient.Show;
    185187end;
    186188
Note: See TracChangeset for help on using the changeset viewer.