QListview truncates row when scrollbar added
-
I have a QListView with a single row. It gets some items put in it. They have pictures. When the number of items in the QListView is enough that they don't all fit, a scrollbar appears at the bottom of the QListView so the user can scroll to the right to see all the items. This is good.
What is bad is that the scrollbar takes up space, and the items are truncated; the top and bottom of the picture is clipped. How do I stop is doing this? I am happy for the QListView to resize, or for the items to be shrunk. Just not clip the items.
-
Hi,
Can you reproduce this with a minimal compilable example ?