Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flickering during plot downsizing #888

Closed
Nikita-Pavlenko opened this issue Sep 26, 2023 · 1 comment
Closed

Flickering during plot downsizing #888

Nikita-Pavlenko opened this issue Sep 26, 2023 · 1 comment
Assignees
Milestone

Comments

@Nikita-Pavlenko
Copy link

We have a plot created via DefaultPlotComponentProviderBatik.

You can see on the recorder video that upscale works relatively normal and the previous image are displayed until the new one come from render.

But on the downscale we have a different thing with flickering via empty panel, which looks not so good.

Please, make sizing a little bit smoother. For example, we can show the original image fill the component rect in both cases, in upsizing and downsizing.

Peek 2023-09-26 13-06

@alshan alshan modified the milestones: New, 2023Q4 Sep 27, 2023
@alshan alshan self-assigned this Oct 19, 2023
@alshan alshan closed this as completed in fae745f Oct 20, 2023
@alshan
Copy link
Collaborator

alshan commented Oct 20, 2023

In PlotPanel replaced GridBagLayout with BorderLayout, which doesn't seem to get invalidated on downsizing.
However, you can try a different layout manager by overriding 'layout' in a subclass of PlotPanel. Like in MyPlotPanelBatik demo for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants