summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBlaine2020-04-28 22:30:01 +0530
committerBlaine2020-04-28 22:30:01 +0530
commit6d3259d56837b172ce8957fd28c0fa3436066262 (patch)
tree8f817ae13ac6b25ad7379c936d33880e8dc23ea7 /src
parenta64e5e224d29636a5d9e80b5760da7993d795bcd (diff)
downloadChemical-PFD-6d3259d56837b172ce8957fd28c0fa3436066262.tar.gz
Chemical-PFD-6d3259d56837b172ce8957fd28c0fa3436066262.tar.bz2
Chemical-PFD-6d3259d56837b172ce8957fd28c0fa3436066262.zip
edge case fix
Diffstat (limited to 'src')
-rw-r--r--src/main/python/utils/fileWindow.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/python/utils/fileWindow.py b/src/main/python/utils/fileWindow.py
index 929bde0..99f1f70 100644
--- a/src/main/python/utils/fileWindow.py
+++ b/src/main/python/utils/fileWindow.py
@@ -53,10 +53,10 @@ class fileWindow(QMdiSubWindow):
parentRect = parent.parentWidget().rect() if parent else self.parentWidget().parentWidget().rect()
current = self.tabber.currentWidget()
width, height = current.dimensions
- width = min(parentRect.width(), width + 50)
- height = min(parentRect.height(), height + 100)
+ width = min(parentRect.width(), width + 100)
+ height = min(parentRect.height(), height + 200)
self.setFixedSize(width, height)
- # self.tabber.resize(width, height)
+ self.tabber.resize(width, height)
self.tabber.currentWidget().adjustView()
def contextMenu(self, point):