You can lengthen or shorten a railing by clicking and dragging one of its end points.
To stretch a railing:
Select the railing. A grab handle is displayed at each railing end.
Hover your pointer over the railing
end you want to stretch. The Lengthen cursor is displayed.
Click and drag to lengthen or shorten the railing, then release your mouse button.