Showing results for 
Search instead for 
Did you mean: 

resize front panel

Go to solution

Hi everyone,


I am developping an application on a computer with a 23 inches screen, but the final application might be used on computers with 15 if not 14 inches screens. If I group all the commands and indicators together, then I can resize the whole front panel manually to make it fit the window. This works fairly well and keeps general propotions of the front panel I designed (although you still have to adjust one or two little things here and there, but I can live with that). Is was wondering if there was a way to do the same thing programmatically.

Is there a way to tell Labview to resize the commands and indicators (keeping proportions and relative positions) on the front panel so that everything fits in the application window?



Best regards.


0 Kudos
Message 1 of 4



the biggest problem in designing a single panel for such different sizes is the font size. It can work decently if the resolution is comparable (e.g. 1200x1024), however, that is not common.

I recommend you to design two different panels and load the one which fits the resolution. By doing this, the smaller panel could e.g. use subpanels or tabs to organize things differently to the big panel.


When sticking to the one panel approach, i recommend to use splitters and to implement a resize functionality which doesn't leave unnecessary gaps or overlays between elements.


Also you might consider translation of text so you have to keep room for different string lenghts.



CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
Accepted by topic author LucG

VI properties, Window Size, Tickbox Scale objects. It's not perfect, but if the panel is simple it works well.

Else you'll have to capture Panel Resize-event and recalculate and set object positions and sizes yourself ...

You should ofcourse design it from the worst case (the smallest screen), the panel scales UP better than it scales DOWN.


G# - Award winning reference based OOP for LV, for free! ADDQ VIPM Now on GitHub
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
0 Kudos
Message 3 of 4

Thanks to both of you for your answers.

The solution about going in the VI properties works fine for what I need.

I'll arrange the front panel so that it fits the 14' screen, leaving the "Scale Objects" box ticked in the VI properties.




Message 4 of 4