How do I control the margin/interspacing between the icons in a QListView? Have attached screenshot, were I believe a little extra 'white space' would be appropriate.
How do I control the margin/interspacing between the icons in a QListView? Have attached screenshot, were I believe a little extra 'white space' would be appropriate.
May be QListView::setIconSize might help you.
Unfortunately not. It changes the icon size, but the margin is still zero (on Linux).
Then may be you will need to use delegates and set the icon rect properly there.
mpi (1st July 2010)
I think I'll leave it at the default behavior then. But thanks for the input.
Bookmarks