mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 00:59:50 +02:00
ObjectInspector: fix wrong ifdef.
git-svn-id: trunk@51303 -
This commit is contained in:
parent
07d5c8bea6
commit
363ef73d76
@ -2677,7 +2677,7 @@ begin
|
||||
{$ENDIF}
|
||||
Dec(EditCompRect.Top);
|
||||
end
|
||||
else if FCurrentEdit is {$IFDEF UseOICheckBoxThemed} TCheckBoxThemed {$ELSE} TCheckBox {$ENDIF} then
|
||||
else if FCurrentEdit is {$IFnDEF UseOINormalCheckBox} TCheckBoxThemed {$ELSE} TCheckBox {$ENDIF} then
|
||||
begin // Align CheckBox to the middle vertically
|
||||
TopMargin := (EditCompRect.Bottom - EditCompRect.Top - ValueCheckBox.Height) div 2;
|
||||
Inc(EditCompRect.Top, TopMargin);
|
||||
|
Loading…
Reference in New Issue
Block a user