Tkinter label height to fit content

rantingrick rantingrick at
Sun Sep 4 17:15:07 EDT 2011

On Sep 4, 2:39 pm, Bart Kastermans <bkast... at> wrote:

> Thx.  That function should allow for a bit of robustness.

Correction. The function is actually "tkFont.metrics(arg)" which takes
"linespace" as an optional argument.

More information about the Python-list mailing list