Message365940
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() |
|
Date |
User |
Action |
Args |
2020-04-07 20:42:55 | Stephen Bell | set | recipients:
+ Stephen Bell |
2020-04-07 20:42:55 | Stephen Bell | set | messageid: <1586292175.49.0.452846630354.issue40219@roundup.psfhosted.org> |
2020-04-07 20:42:55 | Stephen Bell | link | issue40219 messages |
2020-04-07 20:42:55 | Stephen Bell | create | |
|