radio buttons in 150% magnification

Got a problem you cannot solve? Try here.
sol952
Posts: 24
Joined: Thu Apr 21, 2016 9:20 am

radio buttons in 150% magnification

Postby sol952 » Thu May 26, 2016 4:10 pm

I am having the issue where I have added several radio buttons to my finish dialog next to the 2 default ones. They all work and look as expected (see sample 1). when the installer is run or the project is open in 150% magnification the size of the original radio boxes are different than the ones that I added (see sample 2). I have also added pictures of the settings for one of the original radio buttons and one of mine (samples 3 and 4). Do you have any ideas why they are different sizes at 150%? (heights are -17 and -22 at 150% and both are at -11 at 100%)
Attachments
sample1.PNG
sample1.PNG (115.64 KiB) Viewed 6809 times
sample2.PNG
sample2.PNG (180.05 KiB) Viewed 6809 times
sample3.PNG
sample3.PNG (47.37 KiB) Viewed 6809 times

sol952
Posts: 24
Joined: Thu Apr 21, 2016 9:20 am

Re: radio buttons in 150% magnification

Postby sol952 » Thu May 26, 2016 4:10 pm

here is the 4th picture
Attachments
sample4.PNG
sample4.PNG (54.2 KiB) Viewed 6808 times

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: radio buttons in 150% magnification

Postby FrancescoT » Fri May 27, 2016 11:32 am

Dear sol952,

honestly I don't understand where is the problem with the "check-box" controls (they are not radio buttons).

With both screen shots you posted, the font size is Always "-11" and the same happens running a quick test on my machine.

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

sol952
Posts: 24
Joined: Thu Apr 21, 2016 9:20 am

Re: radio buttons in 150% magnification

Postby sol952 » Fri May 27, 2016 2:25 pm

The font size is the same when your run the installer in 100% (here Control Panel\Appearance and Personalization\Display) not not when in 150%

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: radio buttons in 150% magnification

Postby FrancescoT » Mon May 30, 2016 1:31 pm

Which IA version you used?
Using IA x4 I don't see any problem ... the font sizes are always "-11" regardless if 100% or 150%.

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

sol952
Posts: 24
Joined: Thu Apr 21, 2016 9:20 am

Re: radio buttons in 150% magnification

Postby sol952 » Tue May 31, 2016 7:32 am

I am using x4

sol952
Posts: 24
Joined: Thu Apr 21, 2016 9:20 am

Re: radio buttons in 150% magnification

Postby sol952 » Tue May 31, 2016 9:47 am

Are you changing the display with Control Panel\Appearance and Personalization\Display?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: radio buttons in 150% magnification

Postby FrancescoT » Tue May 31, 2016 11:39 am

Yes, I did it.

... and the font Height properties are always "-11" regardless if 100% or 150%.
For what I see, this is exactly the same with the screen-shots you posted earlier (sample3.PNG and sample4.PNG).

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

sol952
Posts: 24
Joined: Thu Apr 21, 2016 9:20 am

Re: radio buttons in 150% magnification

Postby sol952 » Tue May 31, 2016 12:55 pm

Sample 3 and 4 are both in 100% and are two different check boxes. #3 gets larger than #4 at 150%. I was just showing that they are the same in size and setting but the size is different.

sol952
Posts: 24
Joined: Thu Apr 21, 2016 9:20 am

Re: radio buttons in 150% magnification

Postby sol952 » Tue May 31, 2016 3:04 pm

I found out how to get them the same size after opening the the dialog in Delphi

here is the Delphi code for the checkbox thats larger than the other

Code: Select all

  object RebootNow: TRzCheckBox
    Left = 200
    Top = 160
    Width = 78
    Height = 15
    Hint = 'REBOOTCOMPUTER'
    Caption = '&Restart now'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'Tahoma'
    Font.Style = []
    ParentFont = False
    State = cbUnchecked
    TabOrder = 3
    Transparent = True
  end

and here is the smaller one

Code: Select all

  object RzCheckBox1: TRzCheckBox
    Left = 200
    Top = 204
    Width = 125
    Height = 15
    Hint = 'ReadMe'
    Caption = 'Show the Readme File'
    Color = clWhite
    ParentColor = False
    State = cbUnchecked
    TabOrder = 5
  end


if I remove this

Code: Select all

    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'Tahoma'
    Font.Style = []
    ParentFont = False

from the first one they are the same size.

I don't know why it made a difference though since the global font information was the same as what was declared in the checkbox

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: radio buttons in 150% magnification

Postby FrancescoT » Wed Jun 01, 2016 12:56 pm

Strange!
Anyway I am happy you have been able to find a solution.

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 208 guests