support setting padding through options