LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Removing the space used for menubar and toolbar in executable


@RavensFan wrote:

@crossrulz wrote:

@RavensFan wrote:

I created a new VI and modeled it after yours, I didn't see a problem at all.


Really?  I got it immediately with a new VI in 2016 (attached).


I created from scratch in 2018.


Also be sure to set the Run-Time Position to be centered (or customer) and force the size to be the same as the minimum window size.  You have to uncheck the "Use Current Panel Size" option.  So what it appears to be is an interaction between the minimum window size and the Run-Time window size.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 21 of 28
(1,851 Views)

@crossrulz wrote:


Also be sure to set the Run-Time Position to be centered (or customer) and force the size to be the same as the minimum window size.  You have to uncheck the "Use Current Panel Size" option.  So what it appears to be is an interaction between the minimum window size and the Run-Time window size.


That's the secret.  The part about being centered wasn't obvious in the earlier messages.  Along with the "use current size" checkbox.

 

Attached is my LV 2018 VI.  The toolbar and menu actually show when they shouldn't as opposed to being white space.

 

Tim, on yours I see odd artifacts with the VI icon.

 

Definitely seems like a bug.

 

I wonder if a viable workaround would be to not use that "centered" option in the VI properties, but have the VI look up the windows resolutions and its size and position itself in the center of the monitor.

 

Capture

Download All
0 Kudos
Message 22 of 28
(1,843 Views)

@RavensFan wrote:

@crossrulz wrote:


Also be sure to set the Run-Time Position to be centered (or customer) and force the size to be the same as the minimum window size.  You have to uncheck the "Use Current Panel Size" option.  So what it appears to be is an interaction between the minimum window size and the Run-Time window size.


That's the secret.  The part about being centered wasn't obvious in the earlier messages.  Along with the "use current size" checkbox.

 

Attached is my LV 2018 VI.  The toolbar and menu actually show when they shouldn't as opposed to being white space.

 

Tim, on yours I see odd artifacts with the VI icon.

 

Definitely seems like a bug.

 

I wonder if a viable workaround would be to not use that "centered" option in the VI properties, but have the VI look up the windows resolutions and its size and position itself in the center of the monitor.

 

Capture


I also see what I believe to be the TeamViewer window overlay (the double-ended arrow).  I believe this can cause weirdness with LV windows.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 23 of 28
(1,831 Views)

 

Capture


I also see what I believe to be the TeamViewer window overlay (the double-ended arrow).  I believe this can cause weirdness with LV windows.


Interesting.  I'll try again but make sure I have Teamviewer turned off.  Whether that applies to the other people, I don't know.  I have it on because I'm managing some things on a remote machine, but that in itself is completely unrelated to working with code in LabVIEW and would be pure coincidence that I have it open.

 

EDIT:  Nope.  I shut down teamviewer and the VI still exhibited that behavior.

0 Kudos
Message 24 of 28
(1,825 Views)

@RavensFan wrote:
Capture


Yep, I saw the same thing.  I just took it as an artifact of the main issue.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 25 of 28
(1,821 Views)

There are definitely some odd behaviors exhibited by LV windows.  Remember the Single pixel (1px) border missing on LabVIEW windows in Windows 10?  Remember the various issues with LV vs Aero?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 26 of 28
(1,809 Views)

I have a slight memory of this happening Before. That time it came down to certain Graphics chips/cards and drivers. If the setting of the VI is off, it shouldn't be any empty area, simple as that.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 27 of 28
(1,793 Views)

Had this issue from time to time through the years. Again today with LV2022Q3. A solution that worked for me is discussed here.

Certified LabVIEW Architect
Message 28 of 28
(1,519 Views)