You've already forked lazarus-ccr
tvplanit: Fix truncated focus rectangle in bottom row of TVpMonthView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8765 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -117,13 +117,12 @@ begin
|
||||
todayDate := Date();
|
||||
DecodeDate(ADate, Y, M, D);
|
||||
|
||||
if (ACol = 6) then begin
|
||||
WriteLn(ATextRect.Top, ', ', ATextRect.Bottom, ', ', RealBottom);
|
||||
|
||||
if (ACol = 6) then
|
||||
ATextRect.Right := ATextRect.Right + 8;
|
||||
tmpRect := ATextRect;
|
||||
if ATextRect.Bottom > RealBottom then
|
||||
tmpRect.Bottom := RealBottom;
|
||||
end else
|
||||
tmpRect := ATextRect;
|
||||
|
||||
tmpRect := ATextRect;
|
||||
if ARow = 0 then
|
||||
inc(tmpRect.Top);
|
||||
|
||||
@ -245,6 +244,8 @@ begin
|
||||
// then all the way to the left
|
||||
ATextRect.TopLeft := Point(RealLeft + 1, ATextRect.Bottom + 1);
|
||||
ATextRect.BottomRight := Point(ATextRect.Left + mvColWidth, ATextRect.Top + mvRowHeight);
|
||||
if (ATextRect.Bottom > RealBottom - 1) then
|
||||
ATextRect.Bottom := RealBottom - 1;
|
||||
end else begin
|
||||
// Slide rect one column to the right
|
||||
ATextRect.Left := ATextRect.Right + 1;
|
||||
|
Reference in New Issue
Block a user