Usage of CGRectGetMidX

Change to use simplified calculation of knobCenter and textSpaceWidth.