I have a fragment that creates an OptionMenu
widget.
... options = ('White', 'Grey', 'Black', 'Red', 'Orange', 'Yellow', 'Green', 'Blue', 'Cyan', 'Purple') var = StringVar() optionmenu = OptionMenu(par, var, *options) optionmenu.grid(column=column, row=row) ...
One of the problems I encountered is every time a new option is selected, the width of the widget changes. I believe this is due to the text in the widgets changing the width. How to make widget maintain consistent width?
source share