Documented padding feature (= #187 + docs)

Hi Mario,

This is the exact padding feature proposed by @xyz666 in #187, I added the documentation and rebased the commits.