Using Python 2.7 and the Tkinter module, I have created a menubutton and assigned a menu to it. Now every time I post the menu in the specific location, the width of the menu is set automatically based on number of characters. Is there a way to set a static width in the menu widget?
The standard things I tried (such as the following) did not work.
self.menuwidget.config(width=80)
No, there is no way to set the width of the menu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With