Hello,
I have a problem in InstallAware X3. When I'm trying to put image to dialog box then program want from me image with resolution 497x360.
That resolution it shows me when I have closed laptop and display pulpit on two monitors, but when I'm working only on laptop without monitors it show's me resolution 650x471 for needed image.
So when I'm putting image in that resolution on individual laptop, and after build I turn it on two monitors this is wrong scaling.
Subtitles are ragged etc.
All displays are in full hd, laptop and monitors too.
I tried to change font from Tahoma to any other bitmaps font like MS Sans Serif.
I tied too change type of object from AeroPngImage to Image without result
[img]Przechwytywanie.PNG[/img]
What resolution or option I should apply.
Thank You very much for any tips.
Regards,
Tomasz Hoffmann
Problem with scaling images
Problem with scaling images
- Attachments
-
- Przechwytywanie.PNG (231.4 KiB) Viewed 12170 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Problem with scaling images
Dear Tomasz,
did you try with setting as TRUE the "AutoSize" property of the "Image" control?
This will force the dimensions of the "control" to the size of the Image.
Regards
did you try with setting as TRUE the "AutoSize" property of the "Image" control?
This will force the dimensions of the "control" to the size of the Image.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Problem with scaling images
Dear FrancescoT,
I tried to use this option, but images are cropped if I'm using two monitors.
I will only to graduate image in existing ground without lose quality.
Please look at attached screen and compare to image in first post.
I tried to use this option, but images are cropped if I'm using two monitors.
I will only to graduate image in existing ground without lose quality.
Please look at attached screen and compare to image in first post.
- Attachments
-
- Przechwytywanie.PNG (181.95 KiB) Viewed 12155 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Problem with scaling images
Dear Tomasz,
which is the size in pixels (W x H) of your image file?
Regards
which is the size in pixels (W x H) of your image file?
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Problem with scaling images
Dear FrancescoT,
Size of te picture is 650x471 the same what program want when I'm working on individual laptop.
But when i connect two monitors program wants smaller resolutions. I dont know why?
Size of te picture is 650x471 the same what program want when I'm working on individual laptop.
But when i connect two monitors program wants smaller resolutions. I dont know why?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Problem with scaling images
Dear Tomasz,
I am not quite sure to follow your last reply.
is this a problem that you reproduce when working with the Dialog Editor, or is it an issue when displaying the image at setup Runtime?
Regards
I am not quite sure to follow your last reply.
is this a problem that you reproduce when working with the Dialog Editor, or is it an issue when displaying the image at setup Runtime?
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Problem with scaling images
When I'm adding background with resolution 650x471 on laptop with dialog option auto size: true its all ok
https://www.flickr.com/photos/155829059@N03/34895196570/in/dateposted-public/
https://www.flickr.com/photos/155829059@N03/34895196790/in/dateposted-public/
https://www.flickr.com/photos/155829059@N03/35116303892/in/dateposted-public/
but when I'm adding background during I have connected 2 monitors in the same resoultion with the same picture
https://www.flickr.com/photos/155829059@N03/34895197050/in/dateposted-public/
https://www.flickr.com/photos/155829059@N03/34895197250/in/dateposted-public/
https://www.flickr.com/photos/155829059@N03/35116303522/in/dateposted-public/
Please look at resolution what program want from me at laptop and with 2 monitors.
Picture was cut off. The same is after built it and run exe
I hope that You understand me
Regards
https://www.flickr.com/photos/155829059@N03/34895196570/in/dateposted-public/
https://www.flickr.com/photos/155829059@N03/34895196790/in/dateposted-public/
https://www.flickr.com/photos/155829059@N03/35116303892/in/dateposted-public/
but when I'm adding background during I have connected 2 monitors in the same resoultion with the same picture
https://www.flickr.com/photos/155829059@N03/34895197050/in/dateposted-public/
https://www.flickr.com/photos/155829059@N03/34895197250/in/dateposted-public/
https://www.flickr.com/photos/155829059@N03/35116303522/in/dateposted-public/
Please look at resolution what program want from me at laptop and with 2 monitors.
Picture was cut off. The same is after built it and run exe
I hope that You understand me
Regards
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Problem with scaling images
Dear Tomasz,
when using a Background image, you have to keep the same "aspect ratio" between the image and client Area of the dialog.
So to make a sample;
- I created a 600x400 Background-image and then adjusted to the same size, the "ClientHeight" and "ClientWidth" properties of the Welcome Dialog.
- for the Background, I used an "AreoPngImage control" and I have explicitly set its size to 600x400.
For what I see, the above approach works fine with any screen resolution (see attached sample).
Hope this helps you.
Regards
when using a Background image, you have to keep the same "aspect ratio" between the image and client Area of the dialog.
So to make a sample;
- I created a 600x400 Background-image and then adjusted to the same size, the "ClientHeight" and "ClientWidth" properties of the Welcome Dialog.
- for the Background, I used an "AreoPngImage control" and I have explicitly set its size to 600x400.
For what I see, the above approach works fine with any screen resolution (see attached sample).
Hope this helps you.
Regards
- Attachments
-
- BkImageTest.zip
- (3.68 MiB) Downloaded 965 times
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Problem with scaling images
Dear FrancescoT,
I understand You. I ran dialog box on two monitors and I've been checked area of dialog resolution.
This is 497x360, my picture is in the same resolution, I used too AeroPngImage control with 497x360.
For what I see all is good, but when I ran it on individual laptop it shows me other resolution of area dialog resolution.
For example Yours testing files shows me on laptop needed resolution 800x533 - its other than on two monitors (800x600).
If I'm putting more detailed picture is not looking good. For example please look at attachment
I understand You. I ran dialog box on two monitors and I've been checked area of dialog resolution.
This is 497x360, my picture is in the same resolution, I used too AeroPngImage control with 497x360.
For what I see all is good, but when I ran it on individual laptop it shows me other resolution of area dialog resolution.
For example Yours testing files shows me on laptop needed resolution 800x533 - its other than on two monitors (800x600).
If I'm putting more detailed picture is not looking good. For example please look at attachment
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Problem with scaling images
Dear Tomasz,
for what I understand, this is due the "display scaling settings" of your machine. When using a DPI over the default 100%, Images and controls get automatically scaled by the system. For now, there isn't any workaround that can be used to skip the problem. Unless of course, you set your DPI scaling level to 100%.
Hope this helps you.
Regards
for what I understand, this is due the "display scaling settings" of your machine. When using a DPI over the default 100%, Images and controls get automatically scaled by the system. For now, there isn't any workaround that can be used to skip the problem. Unless of course, you set your DPI scaling level to 100%.
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Problem with scaling images
Dear FrancescoT,
This is answer for my problem, when I set up DPI scaling on my machine to 100% all is working good.
I had 125% scaling on individual laptop and this caused problems.
Thank You very much for resolve my fault.
Regards
This is answer for my problem, when I set up DPI scaling on my machine to 100% all is working good.
I had 125% scaling on individual laptop and this caused problems.
Thank You very much for resolve my fault.
Regards
Who is online
Users browsing this forum: No registered users and 261 guests