My cactus is getting tall and skinny instead of round
I have a barrel cactus that's been in my apartment for about 18 months, and instead of staying compact and chubby like it should be, it's stretching upward and looking really thin and weak. It's on a shelf near a window but not in direct sunlight. Is this fixable and what am I doing wrong?