Re: QListWidget Scrollbar
Re: QListWidget Scrollbar
You need to find the viewPort() of widget and setAutoScroll() on that.
also there is another methods if yours items are not visible in the QListwidget:-
scrollToItem ( const QListWidgetItem * item, QAbstractItemView::ScrollHint hint = EnsureVisible ) [
Re: QListWidget Scrollbar
You may know but useful to say that in order to the scroll bar appears, you need to have adaquate number of items inside the list. Did you check that?
Re: QListWidget Scrollbar
Quote:
Originally Posted by
user_mail07
You need to find the viewPort() of widget and setAutoScroll() on that.
also there is another methods if yours items are not visible in the QListwidget:-
scrollToItem ( const QListWidgetItem * item, QAbstractItemView::ScrollHint hint = EnsureVisible ) [
I tried this before and it does not work.
@zgulser
The scroll bar does become visible when there are more than a certain amount of items.
Re: QListWidget Scrollbar
Re: QListWidget Scrollbar