Bitmap stretches when set to 'fixed' - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

stevefal
Posts: 119
Joined: Wed Sep 03, 2008 9:02 pm
Location: Washington USA
Contact: Website

Bitmap stretches when set to 'fixed'

My banner bitmaps are set to Fixed Size in their own properties, and in Global Properties > Theme, Bitmaps Display is set to 'Keep original picture size"

When then do my banner bitmaps stretch anyway? On some system with apparently different display metrics, I get a stretched banner.

And since the Prerequisites downloader page is resizable, the banner can be stretched *a lot*.

I've never seen the banner and dialog images act 'fixed". What is wrong and how do I get around it?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Bitmap stretches when set to 'fixed'

Hi,

I'm not sure why you are encountering this behavior. Does the project use multiple builds? If so, please note that these settings are per-build. You can change the current build by using the "Build" combo on the toolbar.

If the problem persists, please send us the AIP with the problem and a screen-shot with the behavior you are encountering to support at advancedinstaller dot com.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
stevefal
Posts: 119
Joined: Wed Sep 03, 2008 9:02 pm
Location: Washington USA
Contact: Website

Re: Bitmap stretches when set to 'fixed'

After further investigation, it is the Prerequisites dialog that stretches regardless of settings. You can demonstrate this easily by creating a new default project with a dummy prerequisite.

When run, the prerequisite dialog is wider than the default of 370, and taller than the default of 270, The dialog and banner graphics are stretched, and stretch further when the window is resized.

Since the prerequisites dialog is larger than the default 370x270, the dialog and banner graphics will always be distorted if the graphics are designed for the default size (503x314, 500x63). That's not a good first impression.

So,

- why is the prerequisites dialog not the same size as the other dialogs?
- can the prerequisites dialog layout be controlled?
- does the prerequisites dialog have to be resizable?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Bitmap stretches when set to 'fixed'

Hi,
why is the prerequisites dialog not the same size as the other dialogs?
This is because the API used to create the prerequisites wizard doesn't allow a smaller dialog. The bitmap sizes for these dialogs can be found here.
can the prerequisites dialog layout be controlled?
Currently this is not supported. These dialogs use the global theme. However, we have on our TODO list a feature which will allow you to fully customize the prerequisite dialogs. This feature should be released this year.
does the prerequisites dialog have to be resizable?
Yes, currently the prerequisite dialogs can be resized. I'm afraid this cannot be modified.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”