Issue
In Qt Designer I can set the margin of a VBox or HBox using the properties layout*Margin.
How can I do that in pyqt?
Solution
You can use QLayout.setContentsMargins:
# layout is a defined VBox or HBox
layout.setContentsMargins(left, top, right, bottom)
Answered By - waspinator
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.