CustomTkinter icon indicating copy to clipboard operation
CustomTkinter copied to clipboard

Bug in CTkInputDialog.

Open shasankp000 opened this issue 2 years ago • 0 comments

With reference to issue number #836 , I tried to customise the same CTkInputDialog like this

password_entry_font = ctk.CTkFont(family="Helvetica", size=16)

self.confirm_dialog = ctk.CTkInputDialog(text="Please Enter your password. It won't be saved.", title="Confirm account.")
self.confirm_dialog._entry.configure(show=".", font=password_entry_font)
        
password = self.confirm_dialog.get_input()

Here only the "show" parameter works. If however I try to add in the font parameter, I get this error

image

However the font parameter works in a normal CTkEntry.

Just notifying this since I believe there might be a bug in CTkInputDialog which might be causing this, since the _entry attribute uses the CTkEntry for the entry widget on it.

Also please consider clarifying issue #836 before this one.

Thanks

shasankp000 avatar Dec 12 '22 09:12 shasankp000