Hi.

Changing the background color ttk.Labelframe control, label does not
change color.

CODE:

from tkinter import *
from tkinter import ttk

master = Tk()
master.geometry('200x200')
s = ttk.Style()
s.configure('TLabelframe', background='blue')

labelframe = ttk.Labelframe(master, text='Options', style='TLabelframe')
labelframe.pack(fill=BOTH, expand=YES)

b = ttk.Button(labelframe, text='Hello World')
b.pack()
master.mainloop()

is a Bug?

Regards

Cristian.

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to