Re: Dpi and Resolution issues



Resize fails; because that is not a valid arg for wm.

I'm using Tcl/Tk 8.5

Now, having not actually seen how that works. I do have this question.
Is that going to mess up my hard work of aligning the UI how I wanted
it?

I didn't hardcode any sizes; aside from the size of the Toplevel and a
few entry/listbox widgets.

Thanks!


On Jan 31, 4:47 am, suchenwi <richard.suchenwirth-
bauersa...@xxxxxxxxxxx> wrote:
On 31 Jan., 13:36, Plebeian <casey.ack...@xxxxxxxxx> wrote:

Hi, i've recently ran into the problem of my toplevel window being too
small of a container for people who use a higher DPI and resolution
setting than I use.

How would I go about fixing this?

You can for instance resize the toplevel to be half as high and half
as wide as the screen:

wm resize . [expr [winfo screenwidth .]/2]x[expr [winfo
screenheight .]/2]

.