Re: Dpi and Resolution issues
- From: Plebeian <casey.ackels@xxxxxxxxx>
- Date: Thu, 31 Jan 2008 05:16:57 -0800 (PST)
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]
.
- Follow-Ups:
- Re: Dpi and Resolution issues
- From: Bryan Oakley
- Re: Dpi and Resolution issues
- From: suchenwi
- Re: Dpi and Resolution issues
- References:
- Dpi and Resolution issues
- From: Plebeian
- Re: Dpi and Resolution issues
- From: suchenwi
- Dpi and Resolution issues
- Prev by Date: Re: Dpi and Resolution issues
- Next by Date: Xotcl and composition
- Previous by thread: Re: Dpi and Resolution issues
- Next by thread: Re: Dpi and Resolution issues
- Index(es):