TomSchimansky / CustomTkinter

A modern and customizable python UI-library based on Tkinter
MIT License
11.33k stars 1.07k forks source link

Update ctk_base_class.py : about place method #2330

Closed Thisal-D closed 6 months ago

Thisal-D commented 6 months ago

Enabling User to Pass Width and Height to the Place Method

Customtkinter not allows users to pass width and height arguments to the place method, but it's really usefull in tkinter.

self.link_entry = ctk.CTkEntry(master=self, height=40)
self.add_btn =  ctk.CTkButton(master=self, text="Add +", height=40, width=200)
self.link_entry.place(relwidth=1, width=-210)
self.add_btn.place(relx=1, x=-200)

https://github.com/TomSchimansky/CustomTkinter/assets/93121062/fd8fe730-3b9b-4e60-a106-fc3b48fdddce