Component padding inside container acts as margin

Okay, I think part of the problem is that padding and margins do not display correctly in Preview. Can that be fixed?