Skip to content
⌘ NSIS Forum Archive

Pixel-fixed size window

3 posts

Tsury#

Pixel-fixed size window

Hi.

I don't like dialog units and would like my installer to have a pixel-fixed size (let's say 100x100).
What is the best way to achieve this?

Thanks.
Anders#
You have to call SetWindowPos with the system plugin.

...if your window has any text you are better off sticking with dialog units because they scale with the font.
Marshallx7#
Originally Posted by Tsury View Post
I don't like dialog units
So you don't like anyone who needs to use a different DPI setting for accessibility?
I suggest you try changing your DPI setting and see what it does to your installer.