How to make a OptionMenu maintain the same width?

后端 未结 3 1633
北荒
北荒 2021-01-11 15:09

I have a snippet which creates an OptionMenu widget.

...
options = (\'White\', \'Grey\', \'Black\', \'Red\', \'Orange\', 
           \'Yellow\'         


        
3条回答
  •  终归单人心
    2021-01-11 15:37

    When you use the grid command to place the widget in its parent, have the widget fill its cell (try sticky="ew")

提交回复
热议问题