Quote Originally Posted by wssddc View Post
Qt Code:
  1. combo->setStyleSheet(QString::fromAscii("QComboBox QListView {padding-right: 20px;}"));
To copy to clipboard, switch view to plain text mode 
Better use QLatin1String since it is faster.

The 20px width should be derived from combo somehow, not pulled from thin air
As told, look at QStyle. QStyle::subControlRect()