Bug report
Bug description:
The justify ttk style option does not work starting with Python 3.14.7. Here is a small program demonstrating the issue:
import tkinter
from tkinter import ttk
root = tkinter.Tk()
ttk.Style().configure("TButton", justify=tkinter.CENTER)
ttk.Button(root, text="Foo Bar\nSpam Eggs").pack()
root.mainloop()
Python 3.14.6 and older yield correctly justified text:
With Python 3.14.7 the justification option seems to have no effect:
Both screenshots are from Windows 10(x64).
CPython versions tested on:
3.14
Operating systems tested on:
Windows
Bug report
Bug description:
The
justifyttk style option does not work starting with Python 3.14.7. Here is a small program demonstrating the issue:Python 3.14.6 and older yield correctly justified text:
With Python 3.14.7 the justification option seems to have no effect:
Both screenshots are from Windows 10(x64).
CPython versions tested on:
3.14
Operating systems tested on:
Windows