Adding API point for padding

Allows users to set the amount of padding they want around the label.
Also, provides them with a getter function for convenience.

Fixes #1273.
above is left and right difference, why here is vertical in both cases?