|
|
|
|
#1 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
|
|
#3 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
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. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|