Changeset 472


Ignore:
Timestamp:
Mar 2, 2023, 1:58:25 AM (2 years ago)
Author:
ataylor
Message:

Fix various outstanding problems with dialog layout & scaling.

Location:
trunk/NewView
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/NewView/FileDialogForm.pas

    r465 r472  
    150150Procedure TFileDialogForm.FileDialogFormOnSetupShow (Sender: TObject);
    151151Begin
    152   ScaleForm( self, 10, 16 );
     152  ScaleForm( self, 8, 16 );
    153153
    154154  // ScaleForm seems to misposition the combo-boxes, so we fix that here
  • trunk/NewView/GlobalSearchForm.pas

    r465 r472  
    301301Procedure TGlobalSearchForm.GlobalSearchFormOnSetupShow (Sender: TObject);
    302302Begin
    303   ScaleForm( self, 8, 16 );
     303  ScaleForm( self, 9, 16 );
     304
    304305  // Fix scaling issues on some controls
    305   if SearchTextLabel1.Top > (SearchLocationComboBox.Top + 2) then
    306     SearchTextLabel1.Top := SearchLocationComboBox.Top + 2;
     306  SearchLocationComboBox.Top := SelectDrivesButton.Top + 3;
     307  SearchTextLabel1.Top := SelectDrivesButton.Top + 5;
    307308  Bevel.Bottom := ClientHeight - ResultsLabel.Top + 4;
    308   Led.Height := ResultsLabel.Height;
     309  Led.Height := 15;
    309310  Led.Width := Led.Height;
    310   Led.Top := ResultsLabel.Top;
     311  Led.Bottom := ResultsLabel.Bottom + 1;
     312  Led.Right := ResultsOutline.Right - 1;
     313
     314  SearchTextLabel1.XAlign := xaLeft;
     315  SearchTextLabel1.YAlign := yaTop;
     316
     317  Bevel.XStretch := xsFrame;
     318  Bevel.YAlign := yaTop;
     319
     320  LED.XAlign := xaRight;
     321  LED.YAlign := yaTop;
    311322
    312323  SearchButton.Align := alFixedRightTop;
     
    726737  SearchButton.YAlign := yaTop;
    727738
    728   SearchTextLabel1.XAlign := xaLeft;
    729   SearchTextLabel1.YAlign := yaTop;
    730 
    731739  SearchLocationComboBox.XStretch := xsFrame;
    732740  SearchLocationComboBox.YAlign := yaTop;
     
    734742  SelectDrivesButton.XAlign := xaRight;
    735743  SelectDrivesButton.YAlign := yaTop;
    736 
    737   Bevel.XStretch := xsFrame;
    738   Bevel.YAlign := yaTop;
    739 
    740   LED.XAlign := xaRight;
    741   LED.YAlign := yaTop;
    742744
    743745  ResultsLabel.XAlign := xaLeft;
  • trunk/NewView/OptionsForm.pas

    r94 r472  
    146146Procedure TOptionsForm.OptionsFormOnSetupShow (Sender: TObject);
    147147Begin
    148   ScaleForm( self, 11, 16 );
     148  ScaleForm( self, 9, 16 );
    149149End;
    150150
  • trunk/NewView/ProductInformationFormUnit.pas

    r306 r472  
    6363Procedure TProductInformationForm.ProductInformationFormOnSetupShow (Sender: TObject);
    6464Begin
    65   ScaleForm( self, 11, 16 );
     65  ScaleForm( self, 10, 16 );
    6666End;
    6767
  • trunk/NewView/VersionUnit.pas

    r465 r472  
    1717
    1818const
    19   Version =        'V2.19.7a'; // $SS_REQUIRE_NEW_VERSION$
     19  Version =        'V2.19.7b'; // $SS_REQUIRE_NEW_VERSION$
    2020  BldLevelVersion = '2.19.7'; // Embedded for IBM BLDLEVEL tool
    2121  CopyrightMsg = 'Copyright 2005 Aaron Lawrence; 2006-2019 Ronald Brill';
Note: See TracChangeset for help on using the changeset viewer.