mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 16:52:33 +02:00
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:
parent
8cf7ca133c
commit
7b7bce0f48
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user