win32 interface: add less extra space for buttoncontrols, because the LCL has already innerborder=4

git-svn-id: trunk@9918 -
This commit is contained in:
vincents 2006-09-17 12:09:36 +00:00
parent 8cf7ca133c
commit 7b7bce0f48

View File

@ -993,7 +993,7 @@ begin
if MeasureText(AWinControl, AWinControl.Caption, PreferredWidth, PreferredHeight) then
begin
Inc(PreferredWidth, 20);
Inc(PreferredHeight, 12);
Inc(PreferredHeight, 4);
if WithThemeSpace then begin
Inc(PreferredWidth, 6);
Inc(PreferredHeight, 6);