From 3f7c87c562e299fdc26e3cb5a3e194b1c45c4f8d Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Sat, 19 Oct 2019 10:18:57 -0400 Subject: [PATCH] Added 5 extra pixels to window size when creating to stop clipping from happening. Was at 5 pixels, changed to 10. --- PySimpleGUIQt/PySimpleGUIQt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PySimpleGUIQt/PySimpleGUIQt.py b/PySimpleGUIQt/PySimpleGUIQt.py index 6585cb33..31cb44dc 100644 --- a/PySimpleGUIQt/PySimpleGUIQt.py +++ b/PySimpleGUIQt/PySimpleGUIQt.py @@ -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):