E. Paine <paineeli...@gmail.com> added the comment:
I agree that the `tkinter.ttk.Scrollbar.fraction` under-estimates the length of the trough and I have written a program to try to measure this precisely. When tested (only on Linux, granted), this deficit was measured to be 9 pixels (unless I got the maths wrong!). Tcl/Tk gave **exactly** the same numbers when run using 'wish'. Thank you pez for reporting this, but 2 years on it should be closed as third party (please do take it up with the tcl team if you feel it is a real issue). ---------- nosy: +epaine title: tkinter.ttk.Scrollbar.fraction() is inaccurate, or at least inconsistent compared to the non ttk version -> tkinter.ttk.Scrollbar.fraction() under-estimates length versions: +Python 3.10, Python 3.9 -Python 3.6, Python 3.7 Added file: https://bugs.python.org/file49292/ttkscrl.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33665> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com