Skip to content

Commit

Permalink
add height auto adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutree committed Jun 17, 2019
1 parent 45ac172 commit 16140c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions helpAbout.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

versionMajor = 1
versionMinor = 2
versionDev = 4
date = "2019.6.16"
versionDev = 5
date = "2019.6.17"

def strAbout():
pathDirList = sys.argv[0].replace("\\", "/").split("/")
Expand Down
4 changes: 3 additions & 1 deletion kflash_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def initWindow(self):
self.frameLayout.addWidget(self.downloadWidget)
self.frameWidget.setLayout(self.frameLayout)
self.setCentralWidget(self.frameWidget)
self.setFrameStrentch(0)
self.setFrameStrentch(1)

# option layout
self.langButton = QPushButton()
Expand Down Expand Up @@ -312,6 +312,8 @@ def removeFileSelection(self, button):
self.fileSelectWidget_Close(0).clicked.disconnect()
self.fileSelectWidget_Close(0).setParent(None)
self.fileSelectWidgets[0].remove(self.fileSelectWidget_Close(0))
self.downloadWidget.resize(self.downloadWidget.width(), 58)
self.setWindowSize()

def addAddFileWidget(self):
if len(self.fileSelectWidgets) == 2:
Expand Down

0 comments on commit 16140c1

Please sign in to comment.