LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to preserve panel/controls look across smaller-medium-larger display font changes done through a Personalize window of Windows OS?

Solved!
Go to solution

Hello,

My application uses edit, numeric, ring and other controls with control/label strings mostly made of EditDialogMetaFont size=11 (all optimized for smaller font setting in a Personalize window of Win OS). When user changes the font setting to for example medium the font of all labels and controls changes to size=13 and all panel labels are misaligned with some labels even extending panel margins and hence become partially visible. How to cope with this situation please?

Thanks,

Martin M.

0 Kudos
Message 1 of 4
(3,961 Views)
Solution
Accepted by topic author 2m

The description of metafonts sheds some light onto this issue; basically it says that for a predefined metafont font size is not an absolute value and can change... The way out is using fonts provided by the OS, e.g., Arial.

 

0 Kudos
Message 2 of 4
(3,958 Views)

Hello Wolfgang,

thanks a lot for your valuable advice - it works exactly as you said.

 

Kind regards,

Martin M.

0 Kudos
Message 3 of 4
(3,941 Views)