mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-25 20:19:21 +02:00
LCL: AnchorDocking: Fixed Tab position setting is not saved and restored. Issue #33061
git-svn-id: trunk@59821 -
This commit is contained in:
parent
de8efc11dd
commit
2bb0b31bbb
@ -2361,6 +2361,7 @@ function TAnchorDockMaster.RestoreLayout(Tree: TAnchorDockLayoutTree;
|
||||
//Site.Header.Parent:=nil;
|
||||
if Site.Pages=nil then
|
||||
Site.CreatePages;
|
||||
Site.Pages.TabPosition:=ANode.TabPosition;
|
||||
for i:=0 to ANode.Count-1 do begin
|
||||
aPageName:=ANode[i].Name;
|
||||
if j>=Site.Pages.PageCount then
|
||||
@ -5947,6 +5948,7 @@ begin
|
||||
end;
|
||||
LayoutNode.Assign(Self,false,Minimized);
|
||||
LayoutNode.HeaderPosition:=Header.HeaderPosition;
|
||||
LayoutNode.TabPosition:=Pages.TabPosition;
|
||||
end else
|
||||
LayoutNode.NodeType:=adltnNone;
|
||||
if BoundSplitter<>nil then begin
|
||||
|
Loading…
Reference in New Issue
Block a user