Just new a QListView in an Object. I wonder why setSpacing(...) function doesn't work.. Originally Posted by aamer4yu How are you using QLIstView ? If you are using model, you need to return size hint from the data() function of the model. something like if(role == Qt::sizeHintRole) return QSize(width,height);
Forum Rules
Bookmarks