summaryrefslogtreecommitdiff
path: root/src/frontEnd/Application.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontEnd/Application.py')
-rw-r--r--src/frontEnd/Application.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index 2fb243e3..1f687e70 100644
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -802,8 +802,8 @@ class MainView(QtWidgets.QWidget):
# Adding to main Layout
self.mainLayout.addWidget(self.leftSplit)
- self.leftSplit.setSizes([self.width() // 4.5, self.height()])
- self.middleSplit.setSizes([self.width(), self.height() // 2])
+ self.leftSplit.setSizes([int(self.width() / 4.5), self.height()])
+ self.middleSplit.setSizes([self.width(), int(self.height() / 2)])
self.setLayout(self.mainLayout)