Remove white space in labels, use QGridLayout.rowCount() for adding rows