Window view has what looks like an oversized indentation

It doesn’t show up like this on the designer. However the window view has everything shifted a bit to the right. I’ve attached photos for reference. What am I doing wrong here?

This is probably an issue with relative vs anchored component layout - check the docs for more information: