pad: add margin setter and getter