You've already forked lazarus-ccr
tvplanit: Fix calculation of scrollbar width for DayViewPainter
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4979 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -25,9 +25,9 @@ object MainForm: TMainForm
|
|||||||
Height = 532
|
Height = 532
|
||||||
Top = 48
|
Top = 48
|
||||||
Width = 780
|
Width = 780
|
||||||
ActivePage = TabSettings
|
ActivePage = TabTasks
|
||||||
Align = alClient
|
Align = alClient
|
||||||
TabIndex = 4
|
TabIndex = 1
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
object TabEvents: TTabSheet
|
object TabEvents: TTabSheet
|
||||||
Caption = 'Events'
|
Caption = 'Events'
|
||||||
|
@ -1736,7 +1736,8 @@ begin
|
|||||||
if StartLine < 0 then
|
if StartLine < 0 then
|
||||||
StartLine := FDayView.TopLine;
|
StartLine := FDayView.TopLine;
|
||||||
if VisibleLines < LineCount then
|
if VisibleLines < LineCount then
|
||||||
ScrollbarOffset := 14;
|
ScrollbarOffset := GetSystemMetrics(SM_CYHSCROLL);
|
||||||
|
// ScrollbarOffset := 14;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
Rgn := CreateRectRgn(RenderIn.Left, RenderIn.Top, RenderIn.Right, RenderIn.Bottom);
|
Rgn := CreateRectRgn(RenderIn.Left, RenderIn.Top, RenderIn.Right, RenderIn.Bottom);
|
||||||
|
Reference in New Issue
Block a user