Terry J. Reedy <tjre...@udel.edu> added the comment:
ttk.Treeview also has problems, at least on some systems and versions. https://mail.python.org/pipermail/tkinter-discuss/2022-March/004226.html HiDPI displays and tkinter [cont] https://mail.python.org/pipermail/tkinter-discuss/attachments/20220316/843e7076/attachment-0001.png Apparently on linux. https://mail.python.org/pipermail/tkinter-discuss/2022-March/004228.html https://www.tcl.tk/man/tcl/TkCmd/ttk_treeview.html under "Styling Options' there is parameter to set the -rowheight that needs to be defined as ttk::style configure Treeview \ -rowheight [expr {[font metrics font -linespace] + 2}] however I could not find how to call this command, and when If I do the following style = ttk.Style() style.configure("Treeview", rowheight="30") it works, but it is not dynamic with the font size/dpi Response has suggestion. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31552> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com