Make spacer invisible

I want to have it like this:

when I use the layout button, it just adds some spacer to my group. I would like to make the space the same color as backround. Thats what I mean with "invisible".