ADHD is most commonly treated with stimulants like methylphenidate (aka Ritalin, Focalin, Daytrana, Concerta, etc) or amphetamine (Adderall, Adderall XR, Dexedrine).
Both methylphenidate and amphetamine can have a growth slowing effect in children. Only some children experience this effect, the reasons for which are still unknown. However, it tends to be more pronounced in children who take the drugs for long periods of time without breaks--a slowing in height of about half an inch per year was seen in one study involving Adderall, for example.
It is also important to note that any "stunting" effect does not seem to be permanent. Longer term studies generally to indicate that the medications do not affect a child's ultimate height, just the rate at which they grow. Children who did experience slowed growth seemed to have a "rebound" growth spurt upon discontinuation of the treatment when they no longer needed it.
If this is a concern to you (either about yourself or about your child), the best thing to do would simply to monitor height (and weight) with your doctor. He/she will be able to detect a slowing growth rate and adjust the medication accordingly.