Re: 4k HiDPI displays and tkinter [cont]
Vasilis Vlachoudis <[email protected]> Wed, 23 Mar 2022 08:16:57 +0000
| Newsgroups | gmane.comp.python.tkinter |
|---|---|
| Message-ID | <[email protected]> |
I forgot to reply to you,
>>> f=font.Font(name='TkDefaultFont', exists=1)
>>> rowheight=f.metrics('linespace')+2
>>> rowheight
works beautifully.
Many thanks!!