Skip to content

Commit

Permalink
style: remove window size limit
Browse files Browse the repository at this point in the history
remove window size limit, thus you can maximum the main window.
  • Loading branch information
LewisTian committed Dec 18, 2018
1 parent d607504 commit 1d7b77e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions google-translate/mwin.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ class Ui_MWin(object):
def setupUi(self, MWin):
MWin.setObjectName("MWin")
MWin.resize(620, 450)
MWin.setMinimumSize(QtCore.QSize(620, 450))
MWin.setMaximumSize(QtCore.QSize(16777215, 450))
MWin.setMinimumSize(QtCore.QSize(16777215, 16777215))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/images/icon64"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
MWin.setWindowIcon(icon)
Expand Down Expand Up @@ -221,7 +220,7 @@ def setupUi(self, MWin):

def retranslateUi(self, MWin):
_translate = QtCore.QCoreApplication.translate
MWin.setWindowTitle(_translate("MWin", "谷歌翻译App v1.2"))
MWin.setWindowTitle(_translate("MWin", "谷歌翻译App v1.2.1"))
self.originLabel.setText(_translate("MWin", "原文:"))
self.transLabel.setText(_translate("MWin", "翻译:"))
self.originText.setPlaceholderText(_translate("MWin", "Ctrl+h获取帮助"))
Expand Down

0 comments on commit 1d7b77e

Please sign in to comment.