I am running Centos 8.2 and Ubuntu 20.04 on VirtualBox 6.x. Python version in Centos is 3.6.9 and in Ubuntu is 3.8.x.
The issue is that when I run the following code (which is very simple) the displayed image is unreadably small.
import tkinter as tk
master = tk.Tk()
tk.Label(master, text="First Name").grid(row=0)
tk.Label(master, text="Last Name").grid(row=1)
e1 = tk.Entry(master)
e2 = tk.Entry(master)
e1.grid(row=0, column=1)
e2.grid(row=1, column=1)
master.mainloop()
The window produced by the code is about a 1/2 inch wide and 3/4" long. It works fine on my macbook pro and my windows 10 laptop. But on both the VMs running on VirtualBox, the box produced by this code is impossibly small.
I've tried altering width and length and it has unpredictable effects. "pack" makes the box--oddly--very large.
Any thoughts?