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

treewide: Prefer relative font sizes for graphs #2333

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

t-b
Copy link
Collaborator

@t-b t-b commented Jan 27, 2025

This scales better for different monitor sizes.

Close #2013

@@ -484,7 +484,7 @@ Function CreateTiledChannelGraph(string graph, WAVE config, variable sweepNo, WA
unit = "a.u."
endif

axisLabel = "\Z08" + traceType + "\r(" + unit + ")"
axisLabel = "\Zr060" + traceType + "\r(" + unit + ")"
Copy link
Collaborator

Choose a reason for hiding this comment

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

@t-b The scaling is nice. Can it start with a larger font? - The axis label is too small when reducing the size of the sweep browser to the minimum allowable size.
image

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've switched to 80% from 60%.

@timjarsky timjarsky assigned t-b and unassigned timjarsky Jan 29, 2025
This scales better for different monitor sizes.
@t-b t-b assigned timjarsky and unassigned t-b Feb 4, 2025
@t-b t-b force-pushed the bugfix/2333-tiny-datanbrowser-y-axis-labels branch from 3b53e1b to 472cb77 Compare February 4, 2025 14:50
@timjarsky
Copy link
Collaborator

looks good @t-b
image

@timjarsky timjarsky assigned t-b and unassigned timjarsky Feb 5, 2025
@t-b t-b enabled auto-merge February 6, 2025 10:05
@t-b t-b disabled auto-merge February 6, 2025 10:06
@t-b t-b merged commit 4b66f02 into main Feb 6, 2025
20 checks passed
@t-b t-b deleted the bugfix/2333-tiny-datanbrowser-y-axis-labels branch February 6, 2025 10:06
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.

DataBrowser Y-axis labels use fixed font size 8
2 participants