-
Hello, I would like to use your excellent library in my project. Graph could grow considerable big. I was looking for some built-in zoom mechanism but didn't find it. Like only mouse scroll, or Ctrl-Scroll etc. Word zoom appears on many places in code, however I was not able to find a way to change it. Any help would be much appreciated. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi! I have graph zoom on my main project which uses this library (that's where all those references to the Since you're not the first one to ask, I went ahead and submitted a feature request on In the meantime, if you're really set on doing this, I could point you to my implementation of zooming, but it's very complex code and requires you to pick the |
Beta Was this translation helpful? Give feedback.
-
Thanks for your quick answer. I'm not yet starting my project. Actually I have an app written in C#, WPF and, for many, many reasons, would like to port it to rust using egui and your library. I'm not sure when will I start, for now exploring all pieces of puzzle I would need to complete the port. At the current stage I would go without zooming and wait for some official support from egui. Maintaining could be a problem when egui evolves and I need to mix new features and forked version because of graph. |
Beta Was this translation helpful? Give feedback.
Hi! I have graph zoom on my main project which uses this library (that's where all those references to the
zoom
in the code come from, just an oversight from my end), but unfortunately this required a bunch of hacks and even a fork of egui itself that are not good candidates to be upstreamed.Since you're not the first one to ask, I went ahead and submitted a feature request on
egui
describing the feature I'd need to implement this in a portable way: emilk/egui#1811. The best thing anyone interested can do for now is to pop up in there and show your support (thumbs up, or describing your use case and why you'd like the feature). That doesn't guarantee we'll get this any faster, but it wil…