Clement,
I wouldn't say its expanding, but simply shows extra space or re-centers
itself inside the area. With QTreeView, it doesn't shift, but with
QGraphicsView and QMdiArea it does shift slightly.

- Swyped from my droid.

On Nov 28, 2013 7:07 AM, "Clément Geiger" <clement.gei...@gmail.com> wrote:

You might be able to do that with a QListView (using the protected method
QListView::contentSize()).

Otherwise I'm interested in the answer; I tried to do exactly the same
(multiple views in a scrollable container) a while ago and finally gave up.


2013/11/28 Jonathan Greig <redteam...@gmail.com>
>
> Is this what you are needing?
>
> QAbstractScro...
With that there won't be scrollbars but the viewport won't expand. Am I
right ?

>
> - Swyped from my droid.
>>
>> On Nov 28, 2013 6:40 AM, "Philipp Kursawe" <phil.kurs...@gmail.com...
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to