morpheusthewhite / nordpy

A gui application to connect automatically to the recommended NordVPN server
GNU General Public License v3.0
105 stars 16 forks source link

Window Size #11

Closed MiguelNiblock closed 4 years ago

MiguelNiblock commented 5 years ago

Hi! Thanks for building this awesome utility. I was hating Openvpn until I found it. Everything works actually.

Only comment is that everytime I run Nordpy I need to resize the window because nothing is visible. Same happens with the pop out windows for choosing server manually. I must resize it in order to see the list, and the OK button below.

Im not sure if this is actually due to my system. Im running Mint 19.1 Anyway, here's a screenshot so you get an idea.

image

morpheusthewhite commented 5 years ago

It's probably caused by your default font size; I'll soon try to save also the size of the window, so that it will be restored at each start

morpheusthewhite commented 5 years ago

Please run this python code, launch it and post the output

from tkinter import Label, font

l = Label(text='foo')
fo = font.Font(l, l.cget('font'))
print(fo.actual())
morpheusthewhite commented 5 years ago

Solved with the use of the scale factor in the advanced settings

foxmajik commented 4 years ago

This is not a good user experience.

Most people who want a GUI for their VPN connection are not going to understand what a "scale factor" is.

You should just use better UI code (get the font size from the OS using your code and size the window) instead of expecting the user to know what is going on and fix it themselves.

morpheusthewhite commented 4 years ago

This is not a good user experience.

Most people who want a GUI for their VPN connection are not going to understand what a "scale factor" is.

You should just use better UI code (get the font size from the OS using your code and size the window) instead of expecting the user to know what is going on and fix it themselves.

You're totally right