mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-07 05:29:31 +01:00
anchordocking: close button 1 pix border
git-svn-id: trunk@41926 -
This commit is contained in:
parent
27219f04b0
commit
2ebf042c7f
@ -5131,8 +5131,8 @@ procedure TAnchorDockCloseButton.CalculatePreferredSize(var PreferredWidth,
|
|||||||
begin
|
begin
|
||||||
with ThemeServices.GetDetailSize(ThemeServices.GetElementDetails(twSmallCloseButtonNormal)) do
|
with ThemeServices.GetDetailSize(ThemeServices.GetElementDetails(twSmallCloseButtonNormal)) do
|
||||||
begin
|
begin
|
||||||
PreferredWidth:=cx;
|
PreferredWidth:=cx+2;
|
||||||
PreferredHeight:=cy;
|
PreferredHeight:=cy+2;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user