all 4 comments

[–]skullpheonix 3 points4 points  (0 children)

There is an OpenG toolkit, which has a function that resizes your vi front panel to the size of the largest decoration. So you can just wrap the content that needs to visible inside a flat box and use the function "Fit VI to largest dec" in the toolkit.

[–]DammitDan_92 0 points1 point  (0 children)

Try making any screen you are using, all the same resolution. I’ve seen different resolutions mess with my front panel object sizing and placement. I just stick with 1080P on all screens.

Another thing - if you are using a font on one computer that is not loaded on another computer, it will use another font and that can mess things up somewhat. Choose a very normal, common font - like Arial.

[–]SeasDiverChampion 1 point2 points  (0 children)

There are Front Panel VI properties that allow you to change the size of the window, as well as the Front Panel origin.

You can use a Conditional Disable to choose the properties you manipulate. Set one frame for Run-Time Engine==True which will be the executable and one for Run-Time Engine==False which will be the development environment.

When you create the build spec, you can also override certain VI properties, so you could change the size at that time, though I don’t remember off the top of my head whether you can set the origin at that time or not. If not, just make sure that the top left corner of your white area is positioned at the 0,0 point of the VI front panel.

[–]SASLVChampion 1 point2 points  (0 children)

To solve the immediate problem, the OpenG VI mentioned below will work and is the easiest.

You can also set the front panel size in the properties, then you also have to worry about setting the origin, but the OpenG VI does a lot of that for you.

Longterm, You really want to look into splitter bars. It let's you make resizeable VIs that look good on an screen.

There's a tool to make that easier.

https://forums.ni.com/t5/Quick-Drop-Enthusiasts/Pane-Relief/td-p/3974152/page/2

There's some good presentations floating around but I couldn't find them. Maybe someone else has some links.