[PySide] QToolBox - how to resize current item to avoid scrollbar?

Frank Rueter frank at ohufx.com
Thu Sep 22 01:05:42 CEST 2022

Hi all,

Qt seems to keep throwing curve balls at me on this project hwn eI least
expect them.
In a QToolbox wow can I make sure that the height of the current index is
adjusted so that the contained widget is always fully visible (no scrolling
I tried setting fixed sizes and size policies on the widget but that is
ignored by QToolBox.
I can't find any controls for this anywhere.

Any ideas?

[image: image.png]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20220922/12710110/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 5391 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20220922/12710110/attachment.png>

More information about the PySide mailing list