mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
fixed optionmenu and combobox bugs
This commit is contained in:
@ -23,10 +23,14 @@ optionmenu_tk.pack(pady=10, padx=10)
|
||||
optionmenu_1 = customtkinter.CTkOptionMenu(app, variable=variable, values=countries, command=select_callback)
|
||||
optionmenu_1.pack(pady=20, padx=10)
|
||||
|
||||
optionmenu_2 = customtkinter.CTkOptionMenu(app, variable=variable, values=countries, command=select_callback,
|
||||
dynamic_resizing=False)
|
||||
optionmenu_2.pack(pady=20, padx=10)
|
||||
|
||||
combobox_tk = ttk.Combobox(app, values=countries)
|
||||
combobox_tk.pack(pady=10, padx=10)
|
||||
|
||||
combobox_1 = customtkinter.CTkComboBox(app, variable=variable, values=countries, command=select_callback)
|
||||
combobox_1 = customtkinter.CTkComboBox(app, variable=None, values=countries, command=select_callback, width=300)
|
||||
combobox_1.pack(pady=20, padx=10)
|
||||
|
||||
app.mainloop()
|
||||
|
Reference in New Issue
Block a user