From b40c0a868b04c4c350b3fdde3e7df78a39901840 Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Sun, 29 May 2016 22:17:48 +0300 Subject: [PATCH] short resize update --- src/mainscreen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainscreen.py b/src/mainscreen.py index 104f327..bb48731 100644 --- a/src/mainscreen.py +++ b/src/mainscreen.py @@ -318,7 +318,7 @@ class MainWindow(QtGui.QMainWindow): grid.setRowMinimumHeight(2, 410) grid.setRowMinimumHeight(3, 60) grid.setColumnStretch(1, 1) - grid.setRowStretch(1, 1) + grid.setRowStretch(2, 1) main.setLayout(grid) self.setCentralWidget(main) self.setup_menu(self) @@ -335,7 +335,7 @@ class MainWindow(QtGui.QMainWindow): def resizeEvent(self, *args, **kwargs): self.messages.setGeometry(0, 0, self.width() - 300, self.height() - 172) - self.friends_list.setGeometry(0, 0, 270, self.height() - 142) + self.friends_list.setGeometry(0, 0, 270, self.height() - 140) self.callButton.setGeometry(QtCore.QRect(self.width() - 370, 20, 50, 50)) self.typing.setGeometry(QtCore.QRect(self.width() - 420, 30, 50, 30))