QComboBox field markup
1 answer
You want to set some space between items.I try different stylesheets, but I can't get the result. But I found this solution. Perhaps it helps.
ui->comboBox->setView(new QListView());
ui->comboBox->setStyleSheet("QComboBox QAbstractItemView::item { min-height: 35px; min-width: 50px; }QListView::item:selected { color: black; background-color: lightgray}");
The result is very similar
+10
source to share