mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 00:02:05 +02:00
Cocoa: fix a bug in TCocoaWSCustomTabControl.ShowTabs()
This commit is contained in:
parent
2935910bde
commit
5cb3f9d2c0
@ -939,7 +939,7 @@ begin
|
||||
ar := lTabControl.lclGetFrameToLayoutDelta;
|
||||
// switching ShowTabs actually changes layout to frame
|
||||
// this needs to be compenstated
|
||||
if (ar.Top<>pr.Top) or (pr.Left<>ar.Top) then
|
||||
if (ar.Top<>pr.Top) or (ar.Left<>pr.Left) then
|
||||
begin
|
||||
fr := lTabControl.frame;
|
||||
dx := pr.Left - ar.left;
|
||||
|
Loading…
Reference in New Issue
Block a user