Update tabs/tab_bar to iced 0.14#350
Conversation
|
@Redhawk18 on my fork I didn't have the update with iced_fonts. On the tab_bar widgets, I'm not so sure with the let (_content, font, _shaping) = cancel();
// ...
(self.font.unwrap_or(font), self.icon_size)Around |
genusistimelord
left a comment
There was a problem hiding this comment.
thank you very much for your help.
|
Why are you not using content or shaping? |
|
not sure he can since it can use different fonts and icons. so it might have to stay advanced or be expanded to Require they use your font macros to generate the needed stuff. |
|
The original widget needed a fallback font for the icon, before it was using REQUIRED_FONT but since it's removed, I needed to use something. From what I see, icon content is set at Tab level when the icon font is at TabBar level. Maybe it should just fallback to default font |
Oh you don't need that then, iced aw just owns that font now. You'll find it at the crates root now in lib.rs |
No description provided.