Port some QLayout::setMargins

Authored by mlaurent on Sep 19 2019, 9:11 PM.