As ScrollableControl uses calculations based on scaled client sizes you get a weird behavior due to rounding issues:
If you base the calculations on the unscaled values it works fine (updated class is attached). Surely it can't be wrong to work only with unscaled values as there is no need to care about scaling inside this class at all.
ScrollableControl.zip
.
As ScrollableControl uses calculations based on scaled client sizes you get a weird behavior due to rounding issues:
If you base the calculations on the unscaled values it works fine (updated class is attached). Surely it can't be wrong to work only with unscaled values as there is no need to care about scaling inside this class at all. ScrollableControl.zip .