Range: Fix hilight not drawn to value if page-size

Daniel Boles requested to merge dboles/range_highlight_with_page_size into main

If we have a non-zero Adjustment:page-size, the actual amount we draw is reduced by that page-size. We account for this in various places, but we did not when deciding how far to allocate the highlight widget, so we were drawing the highlight not far enough, falling short of the value. This fixes by subtracting the page-size from the drawn range here too.

Fixes #5976 (closed)

Merge request reports