reduced empty space, new dafault avatar

This commit is contained in:
ingvar1995 2016-03-21 17:59:54 +03:00
parent c511641573
commit 5fca5c183a
2 changed files with 5 additions and 5 deletions

BIN
src/images/avatar.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -93,10 +93,10 @@ class MainWindow(QtGui.QMainWindow):
self.messageEdit.setGeometry(QtCore.QRect(0, 10, 450, 110)) self.messageEdit.setGeometry(QtCore.QRect(0, 10, 450, 110))
self.messageEdit.setObjectName("messageEdit") self.messageEdit.setObjectName("messageEdit")
self.screenshotButton = QtGui.QPushButton(Form) self.screenshotButton = QtGui.QPushButton(Form)
self.screenshotButton.setGeometry(QtCore.QRect(460, 10, 90, 50)) self.screenshotButton.setGeometry(QtCore.QRect(460, 10, 90, 55))
self.screenshotButton.setObjectName("screenshotButton") self.screenshotButton.setObjectName("screenshotButton")
self.fileTransferButton = QtGui.QPushButton(Form) self.fileTransferButton = QtGui.QPushButton(Form)
self.fileTransferButton.setGeometry(QtCore.QRect(460, 70, 90, 50)) self.fileTransferButton.setGeometry(QtCore.QRect(460, 65, 90, 55))
self.fileTransferButton.setObjectName("fileTransferButton") self.fileTransferButton.setObjectName("fileTransferButton")
self.sendMessageButton = QtGui.QPushButton(Form) self.sendMessageButton = QtGui.QPushButton(Form)
self.sendMessageButton.setGeometry(QtCore.QRect(550, 10, 60, 110)) self.sendMessageButton.setGeometry(QtCore.QRect(550, 10, 60, 110))
@ -204,9 +204,9 @@ class MainWindow(QtGui.QMainWindow):
self.messages.setGeometry(0, 0, 600, 250) self.messages.setGeometry(0, 0, 600, 250)
def initUI(self, tox): def initUI(self, tox):
self.setMinimumSize(900, 550) self.setMinimumSize(900, 520)
self.setMaximumSize(900, 550) self.setMaximumSize(900, 520)
self.setGeometry(400, 400, 900, 550) self.setGeometry(400, 400, 900, 520)
self.setWindowTitle('Toxygen') self.setWindowTitle('Toxygen')
main = QtGui.QWidget() main = QtGui.QWidget()
grid = QtGui.QGridLayout() grid = QtGui.QGridLayout()