Scrollbar doesn't appear on QListWidget when item starts on visible area.
when I add new widget to QListWidget I need to have a scrollbar when items goes over visible area.
but when I add item to list and this item starts in visible area and goes over the area, I have no scrollbar and last item is partly visible. is there any chance to have a scrollbar in this case?
have you set
setVerticalScrollBarPolicyto any other value than
no it is Qt::ScrollBarAsNeeded.but scrolbar appears correctly after I resize the main widget even with 1 px.