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:
parent
89e4cb68dd
commit
e93ddb5320
@ -25,9 +25,9 @@ object MainForm: TMainForm
|
||||
Height = 532
|
||||
Top = 48
|
||||
Width = 780
|
||||
ActivePage = TabSettings
|
||||
ActivePage = TabTasks
|
||||
Align = alClient
|
||||
TabIndex = 4
|
||||
TabIndex = 1
|
||||
TabOrder = 0
|
||||
object TabEvents: TTabSheet
|
||||
Caption = 'Events'
|
||||
|
@ -1736,7 +1736,8 @@ begin
|
||||
if StartLine < 0 then
|
||||
StartLine := FDayView.TopLine;
|
||||
if VisibleLines < LineCount then
|
||||
ScrollbarOffset := 14;
|
||||
ScrollbarOffset := GetSystemMetrics(SM_CYHSCROLL);
|
||||
// ScrollbarOffset := 14;
|
||||
end;
|
||||
|
||||
Rgn := CreateRectRgn(RenderIn.Left, RenderIn.Top, RenderIn.Right, RenderIn.Bottom);
|
||||
|
Loading…
Reference in New Issue
Block a user