jvcllaz: Complete high-dpi support for TJvTMTimeline.IconDayDistance.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6625 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2018-08-29 17:28:36 +00:00
parent 1cb22c365b
commit 977fb7a77e

View File

@ -1067,7 +1067,9 @@ begin
if FDayWidthStored then if FDayWidthStored then
FDayWidth := Round(FDayWidth * AXProportion); FDayWidth := Round(FDayWidth * AXProportion);
if FButtonWidthStored then if FButtonWidthStored then
FButtonWidth := Round(FButtonWidth * aXProportion); FButtonWidth := Round(FButtonWidth * AXProportion);
if FIconDayDistStored then
FIconDayDist := Round(FIconDayDist * AYProportion);
Invalidate; Invalidate;
end; end;
end; end;