Is there a general design pattern for components? #6767
Unanswered
elisedemarie
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been using egui casually now for a couple of months and am struggling to find if there as an agreed best way to design components. I see that the
Widgettrait can be implemented on components so they can be added to the UI and that seems like a good approach but then in the Demo components don't implementWidget, they implement a new trait,View, so I'm just not sure if there's a best way to go. Any advice or ideas would be appreciated!Beta Was this translation helpful? Give feedback.
All reactions