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

No way to change icon size #9

Open
benx45h opened this issue Feb 20, 2021 · 1 comment
Open

No way to change icon size #9

benx45h opened this issue Feb 20, 2021 · 1 comment

Comments

@benx45h
Copy link

benx45h commented Feb 20, 2021

XCircuit is unusable on hidpi displays without some hacks. A menu option to change icon scale would help substantially.

@RTimothyEdwards
Copy link
Owner

RTimothyEdwards commented Feb 20, 2021

Okay, I have implemented fixes that replaces the fonts with the "TkDefault" fonts, which scale with screen resolution, and used the Tk "font measure" command to get the pixel size of the default font for determining what the screen resolution is. I use this to scale the icons and the scrollbars. That leaves xcircuit looking more or less the same regardless of screen resolution. The custom cursors are still an issue, because the cursors are generated from data like the icons, but that is passed to X11 which doesn't have (as far as I know) a scaling option for cursors. So I might need to make a second set of cursors for high resolution screens (update is xcircuit version 3.10.32, currently on the opencircuitdesign.com repository, to be mirrored to github tonight).

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

2 participants