Added posibility to precise gravity and paddings with config in queue.