Fix for radio button disappearing

Used same logar
This commit is contained in:
MikeTheWatchGuy 2018-09-01 19:04:19 -04:00
parent aeaf04ed73
commit 4c8722765a
1 changed files with 1 additions and 0 deletions

View File

@ -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])