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

Enable vertical scrolling in waveform view #843

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mrehkopf
Copy link

This PR enables vertical scrolling of the waveform view.
When reducing the window size, it will not attempt to squeeze all waveforms into the window which makes them unreadable.
Instead, when a minimum height is reached, the waveforms maintain their size and a vertical scrollbar can be used to scroll the view.
This makes it easier to hide unneeded signals e.g. when using (especially parallel) decoders.

In addition, an off-by-one error is fixed for window resizing. The last pixel of width and height is inclusive so it needs to be added to the new calculated form dimensions.

Caveat: I only have a DSLogic device; this change is untested for DSCope.

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

Successfully merging this pull request may close these issues.

1 participant