Is there a way to detect wether text fits in a button/label and reduce font size until it fits?

后端 未结 0 816
南笙
南笙 2020-12-11 07:50

I am currently using wraplength = bDict[b].winfo_width()-8 to wrap my text so it fits inside the button / label. This works great so long as everything fits in

相关标签:
回答
  • 消灭零回复
提交回复
热议问题