mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-21 11:39:55 +02:00
THintWindow.Paint removed DTCENTER for delphi compatibility
git-svn-id: trunk@21996 -
This commit is contained in:
parent
50874df45f
commit
44e1c40eb8
@ -115,7 +115,7 @@ begin
|
|||||||
InflateRect(ARect, - 2 * HintBorderWidth, - 2 * HintBorderWidth);
|
InflateRect(ARect, - 2 * HintBorderWidth, - 2 * HintBorderWidth);
|
||||||
DrawText(Canvas.GetUpdatedHandle([csFontValid]),
|
DrawText(Canvas.GetUpdatedHandle([csFontValid]),
|
||||||
PChar(Caption), Length(Caption), ARect,
|
PChar(Caption), Length(Caption), ARect,
|
||||||
DT_NOPREFIX or DT_CENTER or DT_VCENTER or DT_WORDBREAK);
|
DT_NOPREFIX or DT_VCENTER or DT_WORDBREAK); // no DT_CENTER in Delphi according to Luiz
|
||||||
end;
|
end;
|
||||||
|
|
||||||
class function THintWindow.GetControlClassDefaultSize: TPoint;
|
class function THintWindow.GetControlClassDefaultSize: TPoint;
|
||||||
|
Loading…
Reference in New Issue
Block a user