Set margin and borders of QListWidget
It would be nice to add some borders and margins for the QListWidget content to like 7 pixels,
basically the equivalent of listWidget->setStyleSheet("QListWidget {padding: 7px;} QListWidget::item { margin: 7px; }");
Before:
After:
Worth an exception if the items are text-only.
Dunno if it's better to set left margin/border to QListWidgetItem instead.
I'd do it myself but can't figure out how.
Edited by Marco Savelli