-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doesnt properly show unicode icons #2385
Comments
@nahid6970 CustomTkinter seems to have trouble displaying Unicode icons. I installed your font The result of your code in my machine: I think it would be better for you to use Google's Material design symbols for icons. You can download the font from github and use it. You can find your desired icon from fonts.google.com and include the name of the icon as text. Example Code: button = customtkinter.CTkButton(root, text="power_settings_new", command=None, hover_color="#154223", border_width=1, border_color="red",font=("MaterialIconsOutlined-Regular", 16, "bold"))
button.place(relx=0.5, rely=0.5, anchor=customtkinter.CENTER) Note: This is not a fix for the issue but an alternative Hope this helps. |
yes its working also i found out that nerd font which consist |
import customtkinter
button = customtkinter.CTkButton(root, text="\uf011", command=None, hover_color="#154223", border_width=1, border_color="red",font=("jetbrainsmono nf", 16, "bold"))
button.place(relx=0.5, rely=0.5, anchor=customtkinter.CENTER)
here it shows like this
The text was updated successfully, but these errors were encountered: