If you mean with “margin” and “padding” the width and height of the button here is an other topic with a solution to this problem - a bit of hack is needed:
How to change size/shape of Holographic button? - Questions - Babylon.js (babylonjs.com)
If you mean with “margin” and “padding” the width and height of the button here is an other topic with a solution to this problem - a bit of hack is needed:
How to change size/shape of Holographic button? - Questions - Babylon.js (babylonjs.com)