From 4c8722765a1dc0518a06e45d47020bdaa34a2aa0 Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Sat, 1 Sep 2018 19:04:19 -0400 Subject: [PATCH] Fix for radio button disappearing Used same logar --- PySimpleGUI.py | 1 + 1 file changed, 1 insertion(+) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index f66cf6dc..69656f0f 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -1907,6 +1907,7 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form): variable=element.TKIntVar, value=value, bd=border_depth, font=font) if not element.BackgroundColor in (None, COLOR_SYSTEM_DEFAULT): element.TKRadio.configure(background=element.BackgroundColor) + element.TKRadio.configure(selectcolor=element.BackgroundColor) if text_color is not None and text_color != COLOR_SYSTEM_DEFAULT: element.TKRadio.configure(fg=text_color) element.TKRadio.pack(side=tk.LEFT, padx=element.Pad[0],pady=element.Pad[1])