Added 5 extra pixels to window size when creating to stop clipping from happening. Was at 5 pixels, changed to 10.

This commit is contained in:
PySimpleGUI 2019-10-19 10:18:57 -04:00
parent ae525a9abd
commit 3f7c87c562
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):