homepage

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 <1647652828.03.0.382443919791.issue31552@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2022年03月19日 01:20:28terry.reedysetrecipients: + terry.reedy, aroberge
2022年03月19日 01:20:28terry.reedysetmessageid: <1647652828.03.0.382443919791.issue31552@roundup.psfhosted.org>
2022年03月19日 01:20:28terry.reedylinkissue31552 messages
2022年03月19日 01:20:27terry.reedycreate

AltStyle によって変換されたページ (->オリジナル) /