QLayout::SetFixedSize worked. Don't know why...