gym and height

I heard that going to the gym negatively affects height, is this true?