Make layout of group boxes more flexible so that we can adapt it to Linux.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>