Tkinter label height to fit content

rantingrick rantingrick at
Sun Sep 4 03:15:52 CEST 2011

On Sep 3, 5:15 pm, Bart Kastermans <bkast... at> wrote:

> Any suggestions?

Yeah, have you considered using the "linespace()" method of tk.Font
objects to calculate the height? Although i must say it "feels" as if
your doing something you should not need to do, however i cannot be
sure without knowing more about this GUI. Sounds a lot like trying to
put socks on a rooster.

More information about the Python-list mailing list