Merge pull request #2092 from PySimpleGUI/Dev-latest

Added 5 extra pixels to window size when creating to stop clipping fr…
This commit is contained in:
PySimpleGUI 2019-10-20 09:17:22 -04:00 committed by GitHub
commit a42240cad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/python3
version = __version__ = "0.30.01 Unreleased Menu color Bye bye PyQt5"
version = __version__ = "0.30.02 Unreleased Menu color Bye bye PyQt5, added 5 extra pixels to window size"
import sys
import types
@ -5803,7 +5803,7 @@ def StartupTK(window):
# add 5 pixels onto it because stuff was getting cut off
qsize = window.QT_QMainWindow.sizeHint()
size = [qsize.width(), qsize.height()]
size[0] += 5
size[0] += 10
window.QT_QMainWindow.resize(*size)
if window._Size != (None, None):