GOSSIP unstable:

I have updated egui (by one major release, not to the latest) and there may be some odd behaviors

(like scrolling instantly stops when your mouse exits the main area).

I have also changed how repainting works:

* There is no fallback "repaint every second" any more. It can sit for long periods without any repaints if nothing changes.

* There is no "exception for scrolling" anymore on FPS limiting. So FPS limiting makes scrolling, animation, and fades look "choppy" below 30 FPS. Default for max FPS is now 60. Note that it was rendering "as fast as possible" previously as an exception, so this isn't really rendering more often, it's just more honest. Many of you will have this setting at 15 (due to the new minimum) and will want to bring it up to 30 or 60.

* Repaints only happen when some code asks for them. I probably have not found all the places where repainting should be requested, so please let me know if you notice something not updating when it should be updating.

Reply to this note

Please Login to reply.

Discussion

Unstable branch is my favorite branch!

Would you still recommend egui for someone learning to build Rust apps?

I do. I think immediate-mode UIs are easier to understand and learn from. The other kind of UI (callback-hell UIs) can be difficult to manage depending on the language/environment.

Cool! I'll be trying that in my next learning project.

I did one demo app with Slint, and the thing was a quarter gigabyte! For what amounts to a hello-world!

How does egui stack up with executable size?

You'll have to try it, I don't know offhand.