New submission from Akuli <akuviljane...@gmail.com>:

import tkinter
from tkinter import ttk
root = tkinter.Tk()
ttk.LabeledScale(root).pack()
root.mainloop()


Run this code and move the slider to center. You see something in front of the 
number. The problem is this line in ttk.py:

        tmp = Label(self).pack(side=label_side) # place holder

I tried deleting it, but then the label doesn't show up at all, and what 
remains is just a scale. Packing with a different side works, but that feels 
like a hack.

----------
components: Tkinter
files: ssss.png
messages: 385591
nosy: Akuli
priority: normal
severity: normal
status: open
title: unwanted label showing up in ttk.LabeledScale
versions: Python 3.9
Added file: https://bugs.python.org/file49765/ssss.png

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43018>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to