How well that looks will depend on the style and how it draws the groupbox, but you could try setting the groubbox's layout's margins to 0

Cheers,
_