-
Notifications
You must be signed in to change notification settings - Fork 14
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
Egui widgets #318
Egui widgets #318
Conversation
Codecov Report
@@ Coverage Diff @@
## devel #318 +/- ##
===========================================
- Coverage 76.46% 45.22% -31.24%
===========================================
Files 155 154 -1
Lines 25957 24928 -1029
===========================================
- Hits 19847 11273 -8574
- Misses 6110 13655 +7545
Help us with your feedback. Take ten seconds to tell us how you rate us. |
29cda5b
to
cc3b335
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, can be merged, just collapsable header needs a fix though (compose output type)
No tests at all ?? :(( |
ff0d445
to
89e5d76
Compare
I plan to update the egui_demo.edn. Should I also write tests in rust? |
no don't worry. I found the demo test eventually :) |
UI layout can be deep and having the output of inner shards bubble up is confusing and could lead to unexpected results. It is also unlikely to be practical as widgets are already organized in a logical fashion. Users can always introduce a variable if some inner output needs to be used elsewhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, had some questions though.
ec8fe19
to
90ae4c2
Compare
Code was duplicated when exposing contents variables and when exposing the UI parents.
90ae4c2
to
a1bbaad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go
Add a bunch of
egui
widgets in shards. There are a few remaining and some optional behaviours are not yet implemented, but it should give a good starting point to design an UI with most of the layout and widgets already in place.widget list
Note that button and label were already implemented in #309.
As it follows #312 where text input is implemented, there are two shared commits here (until #312 is merged).