I notice this too.
In a scene structured as
Even with the Panel's margins set to the limits of the viewport, when you run the scene you still see the left margin:
To solve this, you seem to have to set not the child's Margins, but the MarginContainer's Custom Constants:
This removes the undesired margin.