Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enlarge circuit element icons to prevent cropping #221

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

wlcsm
Copy link
Contributor

@wlcsm wlcsm commented Dec 17, 2023

The Hadamard wire's name was being cropped as Hadam...

Screenshot 2023-12-17 at 8 42 26 pm

After enlarging the icons by 5 pixels, it becomes

Screenshot 2023-12-17 at 8 42 11 pm

This was to resolve #164, but on my machine all the other circuit element's names were displayed in full. I'm not sure if this is a OS issue (I'm on Mac 14) or it was resolved in a previous commit.

@dlyongemallo
Copy link
Contributor

It does vary by OS (and, I think, even by desktop manager and theme), so I think the fix needs to be dynamic.

The Hadamard wire's name was being cropped as Hadam...
@RazinShaikh RazinShaikh merged commit 471d5de into zxcalc:master Jan 25, 2024
2 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

text strings under icons are truncated in side bar
3 participants