Afrow UK
9th July 2003 21:14 UTC
Dialog size (on IO page)
I have an image that is on my page from:
Left=10
Right=-10
Now, what should the size of the image be if I do not want it to be stretched?
I'm giving it a rough estimate at 290?
Ok, so this isn't in pixels then - 290 width of an image is tiny compared to the window!
How do I go about finding the right length, or is turning RESIZETOFIT off the best solution?
-Stu
Afrow UK
9th July 2003 21:18 UTC
Never mind, I took RESIZETOFIT off, and the image is exactly the right size anyway!
It looks a lot better now too, that there is no stretching of the image (if only a little bit before - it made the writting messy!)
-Stu
Joost Verburg
9th July 2003 23:06 UTC
If you want it to be compatible with systems with a custom DPI setting, you'd better make it fit exactly (for 96 DPI, the default) and turn RESIZETOFIT on.
The size of a Modern UI inner window is 300 x 140 dialog units.
So you image has a width of 280 dialog units.
I don't know the exact conversion ratio for the default font. The easiest way to get the amount of pixels (for the default DPI) is probably to take a screenshot.