Hi,
Running Tkrev on a wide screen, all the icons are too small to see anything. I have been able to increase the font size using options in the .tkrev config file, but is there a way to define the DPI or scaling of the whole app so it appears readable/usable on an ultra wide screen ?
I'm on Windows, and uses Tcl/Tk 8.6 (in case another version of Tk handles this better).
It seems like the canvas that the filelist is drawn on doesn't even measure the height of the font. Maybe I can fix that. Which options did you modify, just so I can test it easily?
I can probably make double-size icons and give the user a setting for that, too. Just a matter of making a set of double-sized icons, I hope.
Hi,
Thanks for the quick reply. I have changed the following in the .tkrev file:
option add Text.font {fixed 14}
option add Entry.font {fixed 14}
Let me know if there is a better way to change the font size, too.
I had to take my font up to 24 points to look like your screenshot.
But it was pretty easy to stop the lines overlapping. I've checked in a fix already.
There is a general scaling command. In your .tkrev, you can say
tk scaling 2.66666
or whatever number you want. It affects all the text, but unfortunately not the icons. You will still probably need the fix I checked in to stop the lines overlapping.
I don't mind making a larger set of icons, but it will take a few days :-)
I found a way to scale the icons without making a new set. It's in version 9.4.6 which I just released. You should still use "tk scaling" for the text. I made it so that the help text will scale, too. Two new variables:
$cvscfg(large_icons) if non-zero, causes the user interface
icons to be enlarged by a (integer) factor of $cvscfg(icon_mag)
Hope it does what you need.
Hi,
Thanks for the fix. I will download the new version and test it as soon as possible. Thanks again for your quick support.
Tested. It rocks !
Thanks a lot, it solves both font and icons problems.