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

Fix default XY oscilloscope size #1627

Merged
merged 3 commits into from
Dec 7, 2023

Conversation

LTVA1
Copy link
Contributor

@LTVA1 LTVA1 commented Dec 6, 2023

Put a restriction on XY oscilloscope window size so the minimal size now is more than several pixels lol

You may tweak the numbers because I am on 4k screen and that's how in looks good for me

Copy link
Owner

@tildearrow tildearrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I say 128×128.

The real fix involves changing the default layout so that the window appears with a different size.

@LTVA1
Copy link
Contributor Author

LTVA1 commented Dec 6, 2023

In different size? Hmm... I thought it just sets the minimum sizes no matter how the window emerges on the screen. Well, what is default layout then? And how it can be used to properly fix the thing?

@tildearrow
Copy link
Owner

tildearrow commented Dec 6, 2023

The default layout is in src/gui/gui.cpp line 768.
It sets default sizes for many windows.

@LTVA1 LTVA1 requested a review from tildearrow December 6, 2023 18:11
src/gui/gui.cpp Outdated Show resolved Hide resolved
@LTVA1 LTVA1 requested a review from tildearrow December 7, 2023 04:47
@tildearrow tildearrow merged commit 1a96450 into tildearrow:master Dec 7, 2023
5 checks passed
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.

2 participants