Comments (2)
yes its working also i found out that nerd font which consist
NF in the end for example VictorMono NF has the same issue but VictorMono NFP fixes it so i think fonts that has NFP or NFM at the end does not have this issues
its also working with JetBrainsMonoNL NFP too
from customtkinter.
@nahid6970 CustomTkinter seems to have trouble displaying Unicode icons. I installed your font Jetbrainsmono
too.
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.
from customtkinter.
Related Issues (20)
- add feature TextBox HOT 5
- add feature textbox typing
- scrollable frame destroy() still hasn't fixed yet
- Request: Separator
- segmented button command error HOT 1
- Vertical Progressbar rendering bug HOT 2
- Scrollable Frame HOT 1
- button anchor
- Make Scrollable frame and option menu better HOT 2
- Combobox bind in keyboard keys Dropdown menu
- How do I add an image to a button? HOT 1
- CTkTabview allowing to change tabs when CTkTabview_obj.configure(state="disable")
- Issues with crashing - tcl86t.dll on Customtkinter 5.2.2
- Adding label inside progress bar
- Remove Border OptionMenue HOT 1
- Label automatically gives y-padding using grid
- Unable to update text with .configure(text='new text') HOT 2
- creating themes could be easier HOT 1
- ScrollableFrames do not destroy properly. HOT 1
- Cant change icon! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from customtkinter.