To change the duration of an allocation, click the indicator that reflects the duration of the allocation. This will expose a text field where you can change the duration of the allocation.