There is a layout manager built into the LCL. Component properties like alignment and anchors are parameters for this layout manager.
The "modern ui in lazarus" is a (very early) attempt at a different, more web oriented rendering where layout managers places components very roomy, and as a consequence often needs vertical scrolling.