This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients aroberge, terry.reedy
Date 2022-03-19.01:20:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
ttk.Treeview also has problems, at least on some systems and versions.
HiDPI displays and tkinter [cont]
Apparently on linux.

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.
Date User Action Args
2022-03-19 01:20:28terry.reedysetrecipients: + terry.reedy, aroberge
2022-03-19 01:20:28terry.reedysetmessageid: <>
2022-03-19 01:20:28terry.reedylinkissue31552 messages
2022-03-19 01:20:27terry.reedycreate