Changeset 465
- Timestamp:
- Feb 22, 2023, 1:45:24 AM (2 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 1 [Ee][Nn][Vv].[Ii][Nn][Cc] 2 *.[Bb][Aa][Kk]
-
- Property svn:ignore
-
trunk/NewView/FileDialogForm.pas
r105 r465 150 150 Procedure TFileDialogForm.FileDialogFormOnSetupShow (Sender: TObject); 151 151 Begin 152 ScaleForm( self, 11, 16 ); 152 ScaleForm( self, 10, 16 ); 153 154 // ScaleForm seems to misposition the combo-boxes, so we fix that here 155 DriveComboBox.Bottom := DrivesLabel.Bottom - DriveComboBox.Height; 156 FilterComboBox.Bottom := FilterLabel.Bottom - FilterComboBox.Height; 153 157 154 158 FileNameEdit.YAlign := yaTop; … … 163 167 DriveComboBox.YAlign := yaTop; 164 168 DrivesLabel.YAlign := yaTop; 169 165 170 DirectoryListBox.YStretch := ysFrame; 166 171 DirectoriesLabel.YAlign := yaTop; … … 171 176 172 177 LayoutControls; 178 FileListBox.SetColumnWidth( 0, Canvas.TextWidth('A_Suitably_Long_FileName.EXT')); 179 173 180 End; 174 181 … … 366 373 SplitX := round( ClientWidth * Split ); 367 374 LeftPaneWidth := SplitX - 8; // note we are not including borders here 368 RightPaneWidth := ClientWidth - SplitX - 8;369 RightPaneX := SplitX + 3;375 RightPaneWidth := ClientWidth - SplitX - 9; 376 RightPaneX := SplitX + 4; 370 377 371 378 DrivesLabel.Width := LeftPaneWidth; -
trunk/NewView/GlobalSearchForm.pas
r392 r465 301 301 Procedure TGlobalSearchForm.GlobalSearchFormOnSetupShow (Sender: TObject); 302 302 Begin 303 ScaleForm( self, 11, 16 ); 303 ScaleForm( self, 8, 16 ); 304 // Fix scaling issues on some controls 305 if SearchTextLabel1.Top > (SearchLocationComboBox.Top + 2) then 306 SearchTextLabel1.Top := SearchLocationComboBox.Top + 2; 307 Bevel.Bottom := ClientHeight - ResultsLabel.Top + 4; 308 Led.Height := ResultsLabel.Height; 309 Led.Width := Led.Height; 310 Led.Top := ResultsLabel.Top; 311 304 312 SearchButton.Align := alFixedRightTop; 305 313 -
trunk/NewView/MainForm.pas
r411 r465 3889 3889 ContentsOutline.SmoothScroll := false; 3890 3890 3891 LogEvent(LogStartup, 'Choosing default font: Trying W arpSans');3891 LogEvent(LogStartup, 'Choosing default font: Trying Window Text setting'); 3892 3892 3893 3893 Font := GetNiceDefaultFont; … … 4386 4386 StatusPanel.Left:= 0; 4387 4387 StatusPanel.Width:= ClientWidth div 2 - 2; 4388 StatusPanel.Height := TextHeight + 2;4388 StatusPanel.Height := TextHeight + Font.InternalLeading + 4; 4389 4389 4390 4390 ProgressPanel.Left:= ClientWidth div 2 + 2; 4391 4391 ProgressPanel.Width:= ClientWidth - ProgressPanel.Left; 4392 ProgressPanel.Height := TextHeight + 2;4392 ProgressPanel.Height := TextHeight + Font.InternalLeading + 4; 4393 4393 4394 4394 Notebook.Bottom := StatusPanel.Height + 3; … … 4965 4965 4966 4966 Procedure TMainForm.NotebookOnSetupShow (Sender: TObject); 4967 Begin 4967 var 4968 btnWidth: integer; 4969 btnHeight: integer; 4970 Begin 4971 btnWidth := Canvas.TextWidth('M') * 8; 4972 btnHeight := trunc( Canvas.TextHeight('M') * 1.5 ); 4973 4974 DeleteNoteButton.Width := btnWidth; 4975 DeleteNoteButton.Height := btnHeight; 4976 GotoNoteButton.Width := btnWidth; 4977 GotoNoteButton.Height := btnHeight; 4978 GotoNoteButton.Left := btnWidth + 10; 4979 AddNoteButton.Width := btnWidth; 4980 AddNoteButton.Height := btnHeight; 4981 AddNoteButton.Bottom := btnHeight + 5; 4982 EditNoteButton.Width := btnWidth; 4983 EditNoteButton.Height := btnHeight; 4984 EditNoteButton.Left := btnWidth + 10; 4985 EditNoteButton.Bottom := btnHeight + 5; 4986 4968 4987 ContentsOutline.xStretch := xsFrame; 4969 4988 ContentsOutline.yStretch := ysFrame; … … 4980 4999 SearchResultsListBox.xStretch := xsFrame; 4981 5000 SearchResultsListBox.yStretch := ysFrame; 5001 5002 NotesListBox.Bottom := 2 * btnHeight + 10; 5003 NotesListBox.Height := Notebook.ClientHeight - NotesListBox.Bottom; 4982 5004 4983 5005 NotesListBox.xStretch := xsFrame; -
trunk/NewView/PrintDialogUnit.pas
r94 r465 65 65 Procedure TNewViewPrintDialog.NewViewPrintDialogOnSetupShow (Sender: TObject); 66 66 Begin 67 ScaleForm( self, 11, 16 ); 67 ScaleForm( self, 8, 16 ); 68 // ScaleForm seems to misposition the combo-box, so fix it here 69 PrinterComboBox.Bottom := PrinterLabel.Bottom - PrinterComboBox.Height - 1; 68 70 End; 69 71 -
trunk/NewView/SearchDirectoriesFormUnit.pas
r104 r465 58 58 Procedure TSearchDirectoriesForm.SearchDirectoriesFormOnSetupShow (Sender: TObject); 59 59 Begin 60 ScaleForm( self, 11, 16 );60 ScaleForm( self, 8, 16 ); 61 61 End; 62 62 -
trunk/NewView/VersionUnit.pas
r438 r465 17 17 18 18 const 19 Version = 'V2.19.7 '; // $SS_REQUIRE_NEW_VERSION$19 Version = 'V2.19.7a'; // $SS_REQUIRE_NEW_VERSION$ 20 20 BldLevelVersion = '2.19.7'; // Embedded for IBM BLDLEVEL tool 21 21 CopyrightMsg = 'Copyright 2005 Aaron Lawrence; 2006-2019 Ronald Brill';
Note:
See TracChangeset
for help on using the changeset viewer.