DecorationRole Icon spacing issues
General and Desktop
2
Posts
2
Posters
2.0k
Views
1
Watching
-
I have have a bunch of different-sized icons that I'm using as the DecorationRole in a QListView.
I can't seem to figure out to ensure that all the Icons take up the same amount of space. To explain that a little better, what I really want is to set up the spacing such that all my DecorationRole icons occupy the same width and height, regardless of their actual size.
I tried QListView::setSpacing() and QAbstractItemView::setIconSizes(), but they didn't help.
Anybody have any other ideas?
Thanks in advance...