Just adjust the spring tension rod to the desired length and lock it in place. Used in wardrobe, RV cupboard, and for DIY projects, etc.
eBay