You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm enjoying the process of designing an app thus var with relm! However, I've run into an issue when looking for elements that might enable the option for more dynamic layouts like FlowBox.
When trying to place items within FlowBox like this example codeblock:
error[E0599]: the method `container_add` exists for struct `FlowBox`, but its trait bounds were not satisfied
...
| |_doesn't satisfy `FlowBox: RelmContainerExt`
| doesn't satisfy `FlowBox: RelmSetChildExt`
|
= note: the following trait bounds were not satisfied:
`FlowBox: RelmSetChildExt`
which is required by `FlowBox: RelmContainerExt`
I'm not sure how to proceed. Is it possible to use a FlowBox in the way I want to here? Any feedback is appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
imgurbot12
changed the title
Missing Trait Implementations FlowBox and Conflicts
Missing Trait Implementations for FlowBox and Potential Conflicts
Dec 10, 2023
Hello, I'm enjoying the process of designing an app thus var with relm! However, I've run into an issue when looking for elements that might enable the option for more dynamic layouts like
FlowBox
.When trying to place items within FlowBox like this example codeblock:
rust comes back with the following errors:
I'm assuming this is because
RelmContainerExt
andRelmSetChildExt
are not implemented forFlowBox
. With little understanding of the codebase, I tried to implement them myself but it seems like there are potential conflicts in doing so:https://github.com/Relm4/Relm4/blob/main/relm4/src/extensions/remove.rs#L11
https://github.com/Relm4/Relm4/blob/main/relm4/src/extensions/remove.rs#L30
I'm not sure how to proceed. Is it possible to use a FlowBox in the way I want to here? Any feedback is appreciated. Thanks!
The text was updated successfully, but these errors were encountered: