mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
This commit is contained in:
@ -12,7 +12,7 @@ class App(customtkinter.CTk):
|
||||
super().__init__()
|
||||
|
||||
self.title("CustomTkinter complex_example.py")
|
||||
self.geometry(f"{920}x{500}-100-100")
|
||||
self.geometry(f"{920}x{500}")
|
||||
self.protocol("WM_DELETE_WINDOW", self.on_closing) # call .on_closing() when app gets closed
|
||||
|
||||
# configure grid layout (4x4)
|
||||
@ -73,6 +73,7 @@ class App(customtkinter.CTk):
|
||||
dynamic_resizing=False,
|
||||
values=["Value 1", "Value 2", "Value Long Long Long"])
|
||||
self.optionmenu_1.grid(row=0, column=0, padx=20, pady=(20, 10), sticky="ew")
|
||||
self.optionmenu_1.configure(dropdown_text_font=("Times New Roman", 20))
|
||||
self.combobox_1 = customtkinter.CTkComboBox(self.optionemnu_combobox_frame,
|
||||
values=["Value 1", "Value 2", "Value Long....."])
|
||||
self.combobox_1.grid(row=1, column=0, padx=20, pady=(10, 10), sticky="ew")
|
||||
|
Reference in New Issue
Block a user