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

Window don't redraw when resized #42

Open
emmt opened this issue Feb 8, 2023 · 0 comments
Open

Window don't redraw when resized #42

emmt opened this issue Feb 8, 2023 · 0 comments

Comments

@emmt
Copy link

emmt commented Feb 8, 2023

I tried Giza on Linux and noticed that a graphic window is erased when it is resized (except when an interactive routine as giza_band is running). However plotting something else, restore all the plot, but as if the window has not changed in size. When the resizing does not erase the window, the plot does not adjust to the new size of the window.

The redraw/erase issue may be due to the fact that the X event loop must have the opportunity to process some events. Do you have any advice for how to do that?

It would be nice to have the plot automatically adjusts to the window size (possibly with a flag to specify whether aspect ratio should be preserved or not).

I can help on both points.

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

1 participant