Release 3.33

This commit is contained in:
MikeTheWatchGuy 2019-05-25 15:51:55 -04:00
parent 77e0f71b10
commit 7e670b5dea
3 changed files with 14 additions and 15 deletions

View file

@ -5627,7 +5627,8 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form):
bd=border_depth)
else:
element.tktext_label = element.Widget = tk.Label(tk_row_frame, width=width, height=height, bd=border_depth)
if element.BackgroundColor is not None:
if not element.BackgroundColor in (None, COLOR_SYSTEM_DEFAULT):
element.tktext_label.config(background=element.BackgroundColor)
element.tktext_label.image = photo
@ -8148,10 +8149,6 @@ def main():
[Listbox(['Listbox 1', 'Listbox 2', 'Listbox 3'], size=(20, 5))],
[Combo(['Combo item 1', ], size=(20, 3), text_color='red', background_color='red')],
[Combo(['Combo item 1', ], size=(20, 3), text_color='red', background_color='red')],
[Combo(['Combo item 1', ], size=(20, 3), text_color='red', background_color='red')],
[Combo(['Combo item 1', ], size=(20, 3), text_color='red', background_color='red')],
[Combo(['Combo item 1', ], size=(20, 3), text_color='red', background_color='red')],
[Combo(['Combo item 1', ], size=(20, 3), text_color='red', background_color='red')],
[Spin([1, 2, 3], size=(4, 3))],
]