From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fit objects in tab control in a lower screen resolution

Solved!
Go to solution

Hello to all.

Thanks for helping me.

 

I have developed an application in a laptop of 15.6 inches.

Now I am creating a .EXE to deploy in a PLC of 15 inches.

All my front panel is a tab control which has controls and indicators inside.

 

The problem is that when I deploy de application I can not see a part of tab control (15 inches vs 15.6 inches).

How can I fit tab control to 15 inches easyly?

 

Thanks a lot.

 

0 Kudos
Message 1 of 6
(2,973 Views)

Hi A.,

 

design your FP for the smaller resolution.

Making a FP bigger (by allowing bigger graphs etc.) is much easier then to make it smaller!

 

Btw. numbers like 15.6"/15" are irrelevant here. All that counts is the screen resolution you can use: on a Windows desktop you should also look for the size and position of the taskbar…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,952 Views)

Thanks for replaying!

So maybe if I change resolution of PC 15inches it look good.

btw. If I develop front panel for lower resolution how can I fit it to higger resolution easyly?

0 Kudos
Message 3 of 6
(2,943 Views)
Solution
Accepted by A.Salcedo

Hi A.,

 

you can use splitters in your front panel to separate it into sub-parts called panes. For each pane you can decide the behaviour in case the FP window size changes. And when placing controls/indicators in those panes you can also define their behaviour regarding automatic size adaption with FP window size…

 

Point is: design your FP to look good at the smallest screen resolution you need to support. For automatic adaption to bigger resolutions use splitter bars.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 6
(2,938 Views)

If I use splitter bars then objetcs (indicators, graphs...) are getting bigger or smoller acording the splitter bar?

 

Thanks!

0 Kudos
Message 5 of 6
(2,934 Views)

Hi A.,

 

objetcs … are getting bigger or smoller acording the splitter bar?

Yes, depending on your scaling settings.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(2,928 Views)