Reputation: 41
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)
Upvotes: 3
Views: 2395