shlomif / PySolFC

A comprehensive, feature-rich, open source, and portable, collection of Solitaire games.
http://pysolfc.sourceforge.net/
GNU General Public License v3.0
462 stars 105 forks source link

Make auto-scaling the default, and other work on HiDPI issues for Tk #76

Open KeithCu opened 6 years ago

KeithCu commented 6 years ago

I just downloaded your program and it looks powerful, but everything is too small on my 13" 3200x1800 screen. There are multiple things to fix but my first suggestion is to make auto-scaling the default. That makes the cards look good on various size monitors, which is what I care about most. I spent a few minutes with the program before I figured out that would fix it.

You could do other things to take into account DPI of the screen and do larger fonts! This is a pretty good way on the command line to find out on Linux if the screen is high dpi:

$ xrdb -query | grep dpi On my machine it returns 192.

Apparently Tk has some ways to tweak the scaling factor:

https://stackoverflow.com/questions/34132203/scaling-of-tkinter-gui-in-4k-38402160-resolution#34133102

shlomif commented 6 years ago

On Mon, 16 Apr 2018 19:34:11 -0700 KeithCu notifications@github.com wrote:

I just downloaded your program and it looks powerful, but everything is too small on my 13" 3200x1800 screen. There are multiple things to fix but my first suggestion is to make auto-scaling the default. That makes the cards look good on various size monitors, which is what I care about most. I spent a few minutes with the program before I figured out that would fix it.

You could do other things to take into account DPI of the screen and do larger fonts! This is a pretty good way on the command line to find out on Linux if the screen is high dpi:

$ xrdb -query | grep dpi On my machine it returns 192.

Apparently Tk has some ways to tweak the scaling factor:

https://stackoverflow.com/questions/34132203/scaling-of-tkinter-gui-in-4k-38402160-resolution#34133102

Thanks for the report. I'll try looking into it.

--

Shlomi Fish http://www.shlomifish.org/ My Aphorisms - http://www.shlomifish.org/humour.html

The devil created a 10th circle of hell for the inventors of XSLT, because the first nine circles were too mild for them. — http://www.shlomifish.org/humour/bits/facts/XSLT/

Please reply to list if it's a mailing list post - http://shlom.in/reply .

joeraz commented 2 years ago

Auto-scaling has been made the default as of 2.15.