anchordocking: close button 1 pix border

git-svn-id: trunk@41926 -
This commit is contained in:
mattias 2013-06-27 15:40:54 +00:00
parent 27219f04b0
commit 2ebf042c7f

View File

@ -5131,8 +5131,8 @@ procedure TAnchorDockCloseButton.CalculatePreferredSize(var PreferredWidth,
begin
with ThemeServices.GetDetailSize(ThemeServices.GetElementDetails(twSmallCloseButtonNormal)) do
begin
PreferredWidth:=cx;
PreferredHeight:=cy;
PreferredWidth:=cx+2;
PreferredHeight:=cy+2;
end;
end;