diff options
author | Blaine | 2020-04-28 22:30:01 +0530 |
---|---|---|
committer | Blaine | 2020-04-28 22:30:01 +0530 |
commit | 6d3259d56837b172ce8957fd28c0fa3436066262 (patch) | |
tree | 8f817ae13ac6b25ad7379c936d33880e8dc23ea7 /src/main/python | |
parent | a64e5e224d29636a5d9e80b5760da7993d795bcd (diff) | |
download | Chemical-PFD-6d3259d56837b172ce8957fd28c0fa3436066262.tar.gz Chemical-PFD-6d3259d56837b172ce8957fd28c0fa3436066262.tar.bz2 Chemical-PFD-6d3259d56837b172ce8957fd28c0fa3436066262.zip |
edge case fix
Diffstat (limited to 'src/main/python')
-rw-r--r-- | src/main/python/utils/fileWindow.py | 6 |
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): |