Update for fluid width text boxes

Added settings.distanceFromEdge so the cross will stay at the same distance from the right edge of the text box when window size is changed.