Finally a fix for Column sizes?????? YES!

This commit is contained in:
MikeTheWatchGuy 2019-08-07 19:45:17 -04:00
parent 3f752f9c0d
commit 0976b05ba1
1 changed files with 4 additions and 3 deletions

View File

@ -124,8 +124,6 @@ from typing import List, Any, Union, Tuple, Dict # because this code has to r
from random import randint
import warnings
g_time_start = 0
g_time_end = 0
g_time_delta = 0
@ -7249,7 +7247,9 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form):
element.TKColFrame = TkFixedFrame(tk_row_frame)
PackFormIntoFrame(element, element.TKColFrame.TKFrame, toplevel_form)
element.TKColFrame.TKFrame.update()
if element.Size[1] is not None:
if None not in (element.Size[0], element.Size[1]):
element.TKColFrame.canvas.config(width=element.Size[0], height=element.Size[1])
elif element.Size[1] is not None:
element.TKColFrame.canvas.config(height=element.Size[1])
elif element.Size[0] is not None:
element.TKColFrame.canvas.config(width=element.Size[0])
@ -9819,6 +9819,7 @@ def PopupQuick(*args, title=None, button_type=POPUP_BUTTONS_OK, button_color=Non
:param grab_anywhere: If True can grab anywhere to move the window (Default = False)
:param location: Location on screen to display
:param location:
:param location:
"""
Popup(*args, title=title, button_color=button_color, background_color=background_color, text_color=text_color,