Literally, this is "pantalones cortos de baloncesto". There may be an idiomatic expression for this, but I am not familiar with one.
If you are speaking of objects, use "corto/a". When speaking of a person, use "bajo/a".
Ella es baja y guapa
en los pantalones
Mi novio es bajo.