Added option for spacing between buttons and preserving proper alignment