08-11-2025 06:52 AM
Hi,
is it possible to resize front panel window when the exe(app) is open. I want to open app made from labview and that fwindow is the same size as the front panel i made in labview.
Solved! Go to Solution.
08-11-2025 08:02 AM - edited 08-11-2025 08:03 AM
Hi Tim,
@tominsek wrote:
is it possible to resize front panel window when the exe(app) is open. I want to open app made from labview and that fwindow is the same size as the front panel i made in labview.
Yes.
You can:
08-11-2025 08:39 AM
Hi Gerd
where do i find these settings to set as you wrote
08-11-2025 08:53 AM
VI Properties:
and also:
08-11-2025 09:10 AM - edited 08-11-2025 09:14 AM
@tominsek wrote:
Hi,
is it possible to resize front panel window when the exe(app) is open. I want to open app made from labview and that fwindow is the same size as the front panel i made in labview.
That is the default behavior (except if the front panel is maximized to the screen), thus you don't really need to do anything unless you already customized some of the settings mentioned. did you?
Of course your question is very ambiguous because no "resizing" is needed if you want to keep the same size in pixel unit. If you want to keep the same "size" in real world measurement units (centimeters, inches, etc.), things will get very complicated and you need to know e.g. the dot pitch of the monitor.
One related problem is If you use symbolic fonts (e.g. the default "application font"), because they will inherit scaling from the OS settings and typically mess things up. I always use define fonts (e.g. Tahoma 13) for all my front panel elements.
08-11-2025 10:16 AM
when i open the exe (app) that i built, it needs to be open like that:
and not opened like that:
08-11-2025 12:15 PM
08-11-2025 12:58 PM - edited 08-11-2025 01:00 PM
Hi Tim,
@tominsek wrote:
when i open the exe (app) that i built, it needs to be open like that:
and not opened like that:
As I wrote before: set the frontpanel to the desired size (and do a minimal change in the block diagram to enforce a "dirty flag") and save the VI.
Now you should have set the frontpanel size that the VI will open with.
Additional stuff you can do (as explained before):
I also recommend to keep the panel origin at [0, 0], your frontpanel is shifted by ~20 pixels. When you "clean up" the frontpanel then recent LabVIEW versions will automatically position the frontpanel at the origin…
08-11-2025 01:50 PM - edited 08-12-2025 12:00 PM
@GerdW wrote:
When you "clean up" the frontpanel then recent LabVIEW versions will automatically position the frontpanel at the origin…
For good measure, you can also set the panel to scroll to the origin at runtime. (Sometimes you want some area outside the runtime edges (to e.g. park stuff during editing).
Also make sure to disallow resizing the front panel (especially maximizing!).