XCircuit icon indicating copy to clipboard operation
XCircuit copied to clipboard

No way to change icon size

Open benx45h opened this issue 4 years ago • 1 comments

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

benx45h avatar Feb 20 '21 04:02 benx45h

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).

RTimothyEdwards avatar Feb 20 '21 18:02 RTimothyEdwards