respect min/max size
correct textPosition calculated from offsets