Idem here: ScaledValue = ((mValue - mMin) / (mMax - mMin)) * (mInternalW - 2.5)