You've already forked lazarus-ccr
tvplanit: Fix TvGanttView's weekend bars painting over fixed columns.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8472 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -535,6 +535,10 @@ begin
|
|||||||
R := ScaleRect(dayRec.Rect);
|
R := ScaleRect(dayRec.Rect);
|
||||||
x1 := R.Left - dx;
|
x1 := R.Left - dx;
|
||||||
x2 := R.Right - dx;
|
x2 := R.Right - dx;
|
||||||
|
if x2 < FScaledFixedColWidth then
|
||||||
|
Continue;
|
||||||
|
if x1 < FScaledFixedColWidth then
|
||||||
|
x1 := FScaledFixedColWidth;
|
||||||
TPSFilLRect(RenderCanvas, Angle, RenderIn, Rect(x1, y1, x2, y2));
|
TPSFilLRect(RenderCanvas, Angle, RenderIn, Rect(x1, y1, x2, y2));
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user