tvplanit: Fix drawing glitches in TVpDayView.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8440 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2022-09-03 17:58:24 +00:00
parent 79cfe6aad2
commit c7af4ddc10
4 changed files with 65 additions and 91 deletions

View File

@ -476,10 +476,13 @@ begin
BevelShadow
);
end else
begin
RenderCanvas.Line(R.Left, R.Bottom, R.Right, R.Bottom);
end;
// Paint event description as header
P := Point(R.Left + FGanttView.TextMargin, (R.Top + R.Bottom - strH) div 2);
inc(R.Left, FGanttView.TextMargin + 2);
P := Point(R.Left, (R.Top + R.Bottom - strH) div 2);
TPSTextOut(RenderCanvas, Angle, RenderIn, P.X, P.Y, Str);
end;
end;