Re: Dpi and Resolution issues
- From: Bryan Oakley <oakley@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 31 Jan 2008 17:36:41 GMT
Plebeian wrote:
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.
There's your problem right there -- you are hard-coding the size of the toplevel, so of course it won't be right for different DPI. What happens if you don't hard-code the size for any widgets, including the toplevel?
If you use the geometry managers wisely (specifically, grid and pack) it's pretty easy to eliminate these types of size issues. If you're using place it can be more difficult. Without seeing some of your code, though, it's difficult to give specific advice.
.
- References:
- Dpi and Resolution issues
- From: Plebeian
- Re: Dpi and Resolution issues
- From: suchenwi
- Re: Dpi and Resolution issues
- From: Plebeian
- Dpi and Resolution issues
- Prev by Date: Re: Why doesn't foreach return a value
- Next by Date: Tcl tcom : Type mismatch error when passing [in] integer pointer parameters
- Previous by thread: Re: Dpi and Resolution issues
- Next by thread: Xotcl and composition
- Index(es):