mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
UPD: Resize file panels only once after construction
This commit is contained in:
parent
09573b6bcd
commit
b395ca4368
1 changed files with 9 additions and 0 deletions
|
|
@ -742,6 +742,7 @@ type
|
|||
|
||||
public
|
||||
constructor Create(TheOwner: TComponent); override;
|
||||
procedure AfterConstruction; override;
|
||||
Function ActiveFrame: TFileView; // get Active frame
|
||||
Function NotActiveFrame: TFileView; // get NotActive frame :)
|
||||
function ActiveNotebook: TFileViewNotebook;
|
||||
|
|
@ -2606,6 +2607,14 @@ begin
|
|||
Screen.Cursors[crArrowLink] := LoadCursorFromLazarusResource('ArrowLink');
|
||||
end;
|
||||
|
||||
procedure TfrmMain.AfterConstruction;
|
||||
begin
|
||||
FResizingFilePanels:= True;
|
||||
inherited AfterConstruction;
|
||||
FResizingFilePanels:= False;
|
||||
pnlNotebooksResize(pnlNotebooks);
|
||||
end;
|
||||
|
||||
procedure TfrmMain.UpdateActionIcons();
|
||||
var
|
||||
I: Integer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue