mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 06:30:26 +02:00
File open dialog file list adjustments after resize
This commit is contained in:
parent
aebc7458e1
commit
c464f4d58e
@ -7674,6 +7674,8 @@ begin
|
||||
if Desktop^.Size.X > 80 then
|
||||
GrowTo(Min(Desktop^.Size.X-(80-Size.X),102),Size.Y);
|
||||
FileList^.NumCols:= Max((FileList^.Size.X-(FileList^.Size.X div 14)) div 14,2);
|
||||
{ Adjust scrollbar step and page step }
|
||||
FileList^.SetRange(FileList^.Range); {set again for scrollbar min max values}
|
||||
{set focus on the new input line}
|
||||
DInput^.Focus;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user