LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to let the control to keep a right size to meet different size of mornitor?

Solved!
Go to solution

Hello,

 

I have finished a program with cvi 2015 edition, my panel runs well in the desktop, which using a 20“ mornitor. But when installing the program to a notebook, the size and position of those controls in the panel is changed, it seems the control layout for the desktop cannot suit the screen which has another size. Is there any idea to solve the trouble?

 

Thanks

 

David 

 

 

0 Kudos
Message 1 of 4
(1,148 Views)
Solution
Accepted by topic author DavidLee62

You have probably a different screen resolution between the desktop and laptop screen, so the panel designe for the (larger) desktop does not fit in the laptop and some controls go offscreeen.

If this is the case, the fastest way to address this problem is to set the resolution adjustment parameter of your panel(s) to 100% to obtain the automating rescaling of the panel when it is loaded. The attribute if foud in Other Attributes... dialog in panel settings in the UIR editor



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 4
(1,126 Views)

Hi Roberto,

 

Thank you for the advice! Yes,the problem occurs when the program running in a different resolution of screen. There are also, in addition, two questions to ask your advice:

1, Is there anyway to let the panel to suit the screen shows in different aspect ratio? e.g. the 16:9, 16:10 and 4:3.

2, In a higher resolution screen, those controls seem small than a lower resolution screen, could I have a way to let the controls to show in a suitable size by programming? 

 

Thanks

David

 

0 Kudos
Message 3 of 4
(1,113 Views)

David,

 

Answer is already given.

Read Roberto's post once again 🙂

 

Regards,

S. Eren BALCI
IMESTEK
0 Kudos
Message 4 of 4
(1,107 Views)