summaryrefslogtreecommitdiff
path: root/src/main/python/utils/canvas.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/python/utils/canvas.py')
-rw-r--r--src/main/python/utils/canvas.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/python/utils/canvas.py b/src/main/python/utils/canvas.py
index 8bac15f..8bbe99b 100644
--- a/src/main/python/utils/canvas.py
+++ b/src/main/python/utils/canvas.py
@@ -35,6 +35,8 @@ class canvas(QWidget):
# self.spacer = QSpacerItem(1, self.height()) #Horizonatal spacer to force view to not expand to fill widget
# self.layout.addSpacerItem(self.spacer)
# self.layout.addSpacing(0)
+ self.layout.setContentsMargins(0, 0, 0 ,0)
+ self.layout.setSpacing(0)
#set layout and background color
self.setLayout(self.layout)