diff options
author | rahulp13 | 2020-08-08 13:51:08 +0530 |
---|---|---|
committer | rahulp13 | 2020-08-08 13:51:08 +0530 |
commit | ab1b6cb26e03ae50e53457b598eb4948967c9ece (patch) | |
tree | 5890af208aa2fe55d0fdd64b2719d3a20b88b68d /src/frontEnd/Application.py | |
parent | 39ab45e26d1c059302d154c24d01a847d69af273 (diff) | |
download | eSim-ab1b6cb26e03ae50e53457b598eb4948967c9ece.tar.gz eSim-ab1b6cb26e03ae50e53457b598eb4948967c9ece.tar.bz2 eSim-ab1b6cb26e03ae50e53457b598eb4948967c9ece.zip |
added explicit integer type conversion
Diffstat (limited to 'src/frontEnd/Application.py')
-rw-r--r-- | src/frontEnd/Application.py | 4 |
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) |