summaryrefslogtreecommitdiff
path: root/src/main/python/utils/fileWindow.py
diff options
context:
space:
mode:
authorBlaine2020-05-06 20:39:07 +0530
committerBlaine2020-05-06 20:39:07 +0530
commit6c5a39579c737d0054e29403ec0a045cc6a6d52a (patch)
tree005e4e951099d84a9538555fcbd32ba7ed277069 /src/main/python/utils/fileWindow.py
parentecb94d6b121d0c3c9d79dc58140535432cfef973 (diff)
downloadChemical-PFD-6c5a39579c737d0054e29403ec0a045cc6a6d52a.tar.gz
Chemical-PFD-6c5a39579c737d0054e29403ec0a045cc6a6d52a.tar.bz2
Chemical-PFD-6c5a39579c737d0054e29403ec0a045cc6a6d52a.zip
revert close button move
Diffstat (limited to 'src/main/python/utils/fileWindow.py')
-rw-r--r--src/main/python/utils/fileWindow.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/python/utils/fileWindow.py b/src/main/python/utils/fileWindow.py
index 24d6a6d..2fb6abb 100644
--- a/src/main/python/utils/fileWindow.py
+++ b/src/main/python/utils/fileWindow.py
@@ -142,11 +142,11 @@ class fileWindow(QMdiSubWindow):
return False
def moveSideViewCloseButton(self):
- x = self.sideView.width() - 5
- print(x)
- if self.sideView.verticalScrollBar().isVisible():
- x -= self.style().pixelMetric(QStyle.PM_ScrollBarExtent)
- self.sideViewCloseButton.move(x, 5)
+ # x = self.rect().width()//2 - 5
+ # if self.sideView.verticalScrollBar().isVisible():
+ # x -= self.style().pixelMetric(QStyle.PM_ScrollBarExtent)
+ # self.sideViewCloseButton.move(x, 5)
+ self.sideViewCloseButton.move(5, 5)
@property
def sideViewTab(self):