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

there should be no minimum size for visual rendering window #2

Open
jonorthwash opened this issue Dec 28, 2021 · 0 comments
Open

there should be no minimum size for visual rendering window #2

jonorthwash opened this issue Dec 28, 2021 · 0 comments

Comments

@jonorthwash
Copy link
Contributor

Currently the visual view can only be resized as small as the initial bitmap rendering of the graphviz output. This is also the size it's initialised to.

This is not ideal because for large trees and/or small displays, the tree may not fit on the screen at that resolution and the user should be able to shrink it.

Ideal behaviour:

  1. The view window should initially be sized no larger than the display area. Given proportions of screens and typical trees, the restriction will usually be on height, but width should also be checked
  2. The view window should be resizable down to some minimum. Probably not 0x0, but maybe the size of a single glyph, whatever that might be. Instead of calculating this, hard-coding 10x10 might be sane enough.

Additional behaviour that might help would be zooming and panning options in the view window that affect the image view but not the window size. This can be addressed in a new issue.

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