4 ms·
I like the styling of the app. It is quite different than default egui styling. If someone is reading that is familiar with the source can you point me to the p
by nu11ptr 3y ago
I like the styling of the app. It is quite different than default egui styling. If someone is reading that is familiar with the source can you point me to the parts most responsible for the look? (custom components, styling code, etc.) It will just save me a bunch of research. Thx
- jeremyleibs 3y agoThe `re_ui` crate is responsible for most of the non-default styling. Here's the method where it it gets applied, which probably serves as a good reference for extending the look and feel of an egui application: https://github.com/rerun-io/rerun/blob/release-0.9.0/crates/re_ui/src/lib.rs#L63 https://github.com/rerun-io/rerun/blob/release-0.9.0/crates/...
- nu11ptr 3y agoI will start there and see where it leads - thanks!
- KRAKRISMOTT 3y agoAny plans to spin it out as an egui UI library?
- nu11ptr 3y agoThat would be awesome if they did. I decided to create an enhancement request: https://github.com/rerun-io/rerun/issues/3706 https://github.com/rerun-io/rerun/issues/3706
- terhechte 3y agoYou can just use the crate. I’m using it in personal projects: re_ui = "0.6.0"
- nu11ptr 3y agoInteresting. Does that include the UI styling only or also the custom components? Update: look at rustdoc and I'm not seeing components, or at least not many