10000 plots no longer start next line after filling available horizontal space since 0.23 · Issue #15 · emilk/egui_plot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
plots no longer start next line after filling available horizontal space since 0.23 #15
Open
@rukai

Description

@rukai

Possibly related to emilk/egui#3054

Describe the bug
In egui 0.22 plots put in a horizontal_wrapped ui wrap horizontally as expected.
image

Since egui 0.23 plots now continue on forever without wrapping, they are instead pushed off screen.
image

To Reproduce
Put this code in the eframe template

            ui.horizontal_wrapped(|ui| {
                for i in 0..10 {
                    let plot = Plot::new(format!("foo{i}"))
                        .legend(Legend::default())
                        .width(500.0)
                        .height(250.0)
                        .allow_scroll(false);

                    plot.show(ui, |_| {});
                }
            });

Desktop (please complete the following information):

  • Occurs on Arch linux Desktop
  • Occurs on firefox web

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0