Author Stephen Bell
Recipients Stephen Bell
Date 2020-04-07.20:42:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586292175.49.0.452846630354.issue40219@roundup.psfhosted.org>
In-reply-to
Content
The LabeledScale in tkinter.ttk seems to have some kind of hidden element that covers the LabeledScale's label when the value is set to mid-scale. Tested on Windows 10, Python 3.6

See below code to reproduce:

import tkinter
from tkinter import ttk

master = tkinter.Tk()
_out1Value = tkinter.IntVar(master)
out1Slider = ttk.LabeledScale(master, from_=-100, to=100, variable=_out1Value, compound="bottom")
_out1Value.set(0)

# uncomment to "fix"
# out1Slider.label.lift()

out1Slider.pack()

master.mainloop()
History
Date User Action Args
2020-04-07 20:42:55Stephen Bellsetrecipients: + Stephen Bell
2020-04-07 20:42:55Stephen Bellsetmessageid: <1586292175.49.0.452846630354.issue40219@roundup.psfhosted.org>
2020-04-07 20:42:55Stephen Belllinkissue40219 messages
2020-04-07 20:42:55Stephen Bellcreate