Changeset 416


Ignore:
Timestamp:
Feb 24, 2019, 8:04:01 PM (6 years ago)
Author:
ataylor
Message:

(ConfigApps) Centre window on startup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ConfigApps/MainFormUnit.pas

    r414 r416  
    347347  LoadCurrentSettings;
    348348
     349  if Width > Screen.Width then
     350    Width := Screen.Width;
     351  if Height > Screen.Height then
     352    Height := Screen.Height;
     353  Left := ( Screen.Width - Width ) div 2;
     354  Bottom := ( Screen.Height - Height ) div 2;
     355
    349356end;
    350357
Note: See TracChangeset for help on using the changeset viewer.