[issue28313] ttk Style().configure() overwrites Tk().option_add() Button but not Label

2016-09-29 Thread qubodup
qubodup added the comment: Thank you for clarifying, reported at http://core.tcl.tk/tk/tktview/1dde2144bdcc5a93f8724fc1b1b85b19114e42c0 -- ___ Python tracker ___ ___

[issue28313] ttk Style().configure() overwrites Tk().option_add() Button but not Label

2016-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is not Tkinter issue. Pure Tcl/Tk script shows the same result. If this is a bug (I don't know), this is Tk bug. -- nosy: +serhiy.storchaka resolution: -> third party stage: -> resolved status: open -> closed Added file: http://bugs.python.org/

[issue28313] ttk Style().configure() overwrites Tk().option_add() Button but not Label

2016-09-29 Thread qubodup
New submission from qubodup: The following code will result in a small label and a big button: from tkinter import * from tkinter.ttk import * root = Tk() root.option_add("*Font", "sans-serif 12") s = Style() s.configure('TButton', font=('courier', 40)) s.configure('TLabel', font=('courier',