collagraph QScrollArea #110
jamesdbrock
started this conversation in
General
Replies: 1 comment 4 replies
|
This would require some extra code, like here: https://github.com/fork-tongue/collagraph/blob/master/collagraph/renderers/pyside/objects/qobject.py to implement how to add/set a widget to a scroll area. |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I want a
QScrollAreawhich contains aQBoxLayout.I'm having the same problem as this guy.
https://stackoverflow.com/questions/12781407/how-do-i-resize-the-contents-of-a-qscrollarea-as-more-widgets-are-placed-inside?rq=3
The top voted answer to use
QScrollArea::setWidgetagrees with this blog post. https://www.pythonguis.com/tutorials/pyside-qscrollarea/But how can I set the
widgetproperty?I cannot set the
widgetproperty this way becauseTypeError: 'PySide6.QtWidgets.QScrollArea.setWidget' called with wrong argument types: PySide6.QtWidgets.QScrollArea.setWidget(VNode)All reactions