TvPlanIt: Fix incorrect positioning of in-place editor of TVpWeekView.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8666 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2022-12-30 18:36:31 +00:00
parent 627ea2ff59
commit fcdd876a2b

View File

@ -1782,9 +1782,9 @@ begin
)
else
wvInPlaceEditor.SetBounds(
wvActiveEventRec.Left + FGutterWidth + TextMargin,
wvActiveEventRec.Left + TextMargin,
wvActiveEventRec.Top + TextMargin,
WidthOf(wvActiveEventRec) - TextMargin - FGutterWidth - 1,
WidthOf(wvActiveEventRec) - TextMargin - 1,
HeightOf(wvActiveEventRec) - 2*TextMargin
);
wvInplaceEditor.Show;