Comments (7)
Are you importing your own icon font? I recently had the same issue. My problem was that I have imported an other font under the same name as the icon font of iced_aw. The icons of iced_aw are named "Icons"
. If you import an other font under the same name they "collide" with each other.
pub const ICON_FONT: Font = Font::External {
name: "Icons", // Use a different name here
bytes: include_bytes!("../font/icons.ttf"),
};
from iced_aw.
Thank you very much, it solved my problem!
from iced_aw.
I've reopened this issue as a reminder to rename the icon font of iced_aw to something more unique in the future. A more unique name would save a headache for the next person struggling with this issue.
from iced_aw.
Hi. I've got the same issue. I'm using tabbar (which uses icons) and date_picker. I'm not importing my own icons, but the date_picker has the buttons without icons as above. If I wanted to use the solution above, where do I make changes?
from iced_aw.
If you are not importing your own icons and the icons are visible on the tabbar but not on the date_picker, this seems like a different kind of bug as there is no second icon font messing around with the one of iced_aw itself 🤔
from iced_aw.
Thanks for leaving that open - had the same issue :).
My font was called "ICONS" - was 1:1 the same than in the TODOS example. I wanted to switch to SVG icons anwyays.
from iced_aw.
this is no longer relevant on how iced uses fonts.
from iced_aw.
Related Issues (20)
- Mandatory copy trait makes it impossible to use custom message with additional parameters HOT 1
- feature request for menu - mac support HOT 1
- Can't use a PickList on a modal HOT 4
- index out of bounds in Tabs HOT 6
- Grid breaks Scrollable HOT 3
- fail to compile on the newest commit HOT 1
- A way to disable on scroll behavior in number_input HOT 1
- Card close_size extends down right when made larger HOT 2
- Grid is not scrolled together with scrollable content HOT 1
- [BUG] `tabs` panic if placed at application root HOT 3
- Numberinput requires mouse hover for keyboard input HOT 4
- number_input, unable to type non-integer numbers. HOT 4
- Number input doesn't prevent overflow and underflow of the contained value
- Is there anyway to move add margins around a modal's overlay? HOT 3
- Dependabot update to 0.9.1 fails HOT 5
- font_loading example display error
- color_picker、date_picker cannot show button icon HOT 3
- Performance of rust-analyzer HOT 1
- Floating element is drawn higher than main menu HOT 2
- card head_text_color doesn't seem to change color HOT 3
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 iced_aw.