Scrollbar doesn't appear on QListWidget when item starts on visible area.
tokafr last edited by
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?
the_ last edited by
have you set
setVerticalScrollBarPolicyto any other value than
tokafr last edited by tokafr
no it is Qt::ScrollBarAsNeeded.but scrolbar appears correctly after I resize the main widget even with 1 px.