mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Recalculate tab height when change visible
This commit is contained in:
parent
db1348ab61
commit
beba076461
1 changed files with 6 additions and 1 deletions
|
|
@ -1016,7 +1016,12 @@ end;
|
|||
|
||||
procedure TFileViewNotebook.SetShowTabs(AValue: Boolean);
|
||||
begin
|
||||
FPageControl.Visible:= AValue;
|
||||
if (FPageControl.Visible <> AValue) then
|
||||
begin
|
||||
FPageControl.Visible:= AValue;
|
||||
Application.ProcessMessages;
|
||||
FPageControl.TabControlBoundsChange;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TFileViewNotebook.SetPageIndex(AValue: Integer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue