[Interest] How to make a QAbstractViewer never display vertical scrollbar but expand its height?

Philipp Kursawe phil.kursawe at gmail.com
Thu Nov 28 13:56:27 CET 2013


No, I want the QAbstractItemView to not display a vert scrollbar but expand
its height to fit all items.


On Thu, Nov 28, 2013 at 1:54 PM, Jonathan Greig <redteam316 at gmail.com>wrote:

> Is this what you are needing?
>
> QAbstractScrollArea:: setVerticalScrollBarPolicy( Qt:: ScrollBarAlwaysOff )
>
> - Swyped from my droid.
>
> On Nov 28, 2013 6:40 AM, "Philipp Kursawe" <phil.kursawe at gmail.com> wrote:
>
> Is there a way to change the behaviour of a view to expand its height
> instead of displaying a toolbar to make all items visible? I would like the
> parent container to be scrollable, because it contains multiple listviews
> in a vertical layout.
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131128/d68763ac/attachment.html>


More information about the Interest mailing list