Changeset 465 for trunk/NewView/FileDialogForm.pas
- Timestamp:
- Feb 22, 2023, 1:45:24 AM (2 years ago)
- Location:
- trunk
- Files:
-
- 2 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;
Note:
See TracChangeset
for help on using the changeset viewer.