Note Lengths not working in piano roll

Hi there. No matter to wich value I set note lengths it just when manually draw it in, it just gives 1/16 notes. Have to go on the notes and drag it. Anyone have this issue?