diff options
author | Blaine | 2020-04-30 14:18:45 +0530 |
---|---|---|
committer | Blaine | 2020-04-30 14:18:45 +0530 |
commit | c6c699b2c231616b17625d355ec269b1a51809a5 (patch) | |
tree | 2eccaf02903b0b1c27c750495a497f9934a54439 /src/main/python/utils/canvas.py | |
parent | 8024803c29b85e87a0e65eedfd1c8c1975be074c (diff) | |
download | Chemical-PFD-c6c699b2c231616b17625d355ec269b1a51809a5.tar.gz Chemical-PFD-c6c699b2c231616b17625d355ec269b1a51809a5.tar.bz2 Chemical-PFD-c6c699b2c231616b17625d355ec269b1a51809a5.zip |
implement ok and cancel on adjust canvas dialog
Diffstat (limited to 'src/main/python/utils/canvas.py')
-rw-r--r-- | src/main/python/utils/canvas.py | 2 |
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) |