You've already forked lazarus-ccr
tvplanit: Avoid header text of week view to overlap with spin buttons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4703 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -126,7 +126,7 @@ type
|
||||
FDateLabelFormat : string;
|
||||
FDayHeadAttributes : TVpDayHeadAttr;
|
||||
FDrawingStyle : TVpDrawingStyle;
|
||||
FaActiveEvent : TVpEvent;
|
||||
FaActiveEvent : TVpEvent;
|
||||
FHeadAttr : TVpWvHeadAttributes;
|
||||
FEventFont : TFont;
|
||||
FLineColor : TColor;
|
||||
@ -1075,7 +1075,7 @@ var
|
||||
RenderCanvas.TextWidth (HeadStr)) div 2,
|
||||
HeadRect.Top)
|
||||
else
|
||||
HeadTextRect.TopLeft := Point (RealLeft + 30 + TextMargin * 2,
|
||||
HeadTextRect.TopLeft := Point (RealLeft + Trunc(wvHeaderHeight * 0.8) * 2 + TextMargin * 2,
|
||||
HeadRect.Top);
|
||||
HeadTextRect.BottomRight := HeadRect.BottomRight;
|
||||
{ Fix Header String }
|
||||
|
Reference in New Issue
Block a user