[step 1]
QStyledItemDelegate* itemDelegate = new QStyledItemDelegate();
ui->comboBox->setItemDelegate(itemDelegate);
[step 2]
ui->comboBox->setStyleSheet("QComboBox QAbstractItemView::item { min-height: 25px; }");
[step 1]
QStyledItemDelegate* itemDelegate = new QStyledItemDelegate();
ui->comboBox->setItemDelegate(itemDelegate);
[step 2]
ui->comboBox->setStyleSheet("QComboBox QAbstractItemView::item { min-height: 25px; }");