New submission from Stephen Bell :
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()
--
components: Tkinter
messages: 365940
nosy: Stephen Bell
priority: normal
severity: normal
status: open
title: ttk LabeledScale: label covered by hidden element
versions: Python 3.6
___
Python tracker
<https://bugs.python.org/issue40219>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com