diff --git a/components/jvcllaz/run/JvCustomControls/jvtmtimeline.pas b/components/jvcllaz/run/JvCustomControls/jvtmtimeline.pas index f7aac0d4e..cf76b9550 100644 --- a/components/jvcllaz/run/JvCustomControls/jvtmtimeline.pas +++ b/components/jvcllaz/run/JvCustomControls/jvtmtimeline.pas @@ -1067,7 +1067,9 @@ begin if FDayWidthStored then FDayWidth := Round(FDayWidth * AXProportion); if FButtonWidthStored then - FButtonWidth := Round(FButtonWidth * aXProportion); + FButtonWidth := Round(FButtonWidth * AXProportion); + if FIconDayDistStored then + FIconDayDist := Round(FIconDayDist * AYProportion); Invalidate; end; end;