Commit 2bf4a0eb authored by Luke Campagnola's avatar Luke Campagnola
Browse files

Workaround for Qt bug: wrap setSpacing and setContentsMargins from

internal layout of GraphicsLayout.
parent 7fa0ce97
......@@ -160,4 +160,12 @@ class GraphicsLayout(GraphicsWidget):
for i in list(self.items.keys()):
def setContentsMargins(self, *args):
# Wrap calls to layout. This should happen automatically, but there
# seems to be a Qt bug:
def setSpacing(self, *args):
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment