-
Notifications
You must be signed in to change notification settings - Fork 117
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
TabBar and Tabs doesn't work with iced cloned from github #320
Comments
Hi, To solve the first error, you need to add the feature image for Iced so that you can run the example. Then the current master branch of iced_aw is using the release version (1.13.1) of iced, not their master branch. I hope that by updating both issues will solve your issue altogether. |
Thanks, is there something like beta branch against the iced main? It seems that it will take a long time for a new version of iced to be released, while there are some great updates. |
I haven't started porting the beta branch of iced. And I don't think @genusistimelord have either. I don't know when I'll have time to do it. But feel free to implement it yourself |
I'm willing to give it a try, but I'm very new here, do you have any suggestions? |
I would fork the repo, create a dev branch and change the cargo.toml to fetch the iced main branch and see what cargo complains about |
When some api was broken, how to figure out what to do to fix it? |
I'm no part of the iced development team. I'm just a user and contributor to iced_aw so it would be my idea |
yeah we do not always stay synced with Iced as during iced changes they rapidly change to often for us to keep up. So we generally wait till it is almost to the next version to start working on that. We do however Accept contributions to Push the Beta Branch towards the current Iced master. |
i have make some progress on the on_event to update thing,but the iced_font is trouble me, complain something about iced_core::font and iced::font, can you take a look? |
yeah that crate also needs to be updated to the master as it uses the Iced_core Font stuff for its fonts you can open a issue for that here |
I have cloned the project and update iced_core version locally and it works fine. |
I have try to adopt iced_aw with iced-rs/iced@940a079.
Can't figure out how to fix it by now, but at least it can save some works I suppose. |
There used to be a method for the shell to invalidate the widget layout and one to ask for the widget to be redrawn, maybe it will solve the issue |
I think we have to implement reactive-rendering for those widgets, but it may dive deep into the code logic, which I'm unfamiliar with. |
I am using iced master with iced_aw bd6b149, and TabBar and Tabs doesn't work.
I'm using the latest commit because it add support for CJK input method.
the trait bound
Theme: iced_aw::tab_bar::Catalog
is not satisfiedthe trait
iced_aw::tab_bar::Catalog
is implemented forCargo.toml
then just put anything from examples into src folder
The text was updated successfully, but these errors were encountered: