Dragging the edge of the clip changes the duration.
To trim a clip, open the Selection Sliders. Drag them to the start and end of the part of the clip you want to keep. Click
Edit >> Crop. Everything outside the sliders will be deleted.
Detailed instructions are
here.