How to do a scrollable panel (containing windows) #4824
Unanswered
konradmoesch
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
-
Hi!
I want to create some kind of flowchart editor. The app should have nodes (grouped ui elements or, preferably,
egui::Window
s), which can then be connected using lines.Having blocks and painting the connections works. However, the diagrams tend to get larger than the viewable screen. Is there a way to add scrolling to a panel?
Ideally, I'd also like to have zooming of this viewport.
Basically, I am looking for a behaviour similar to the of
egui_plot::Plot
, where I can move and zoom the viewport of the Plot.A MRE can be found here: https://gist.github.com/konradmoesch/dacee6d8013438b9991a29df02ef7cdd
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions