LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Executable looking sloppy on the small window size? How to fix this issue

The front panel looks good on my big laptop as shown below. However, I tried creating an executable to use it on the small laptop, the executable does not look good at all. How do I fix this issue?

On my big laptop:

GRCK5000_0-1678217060093.png

On the small laptop:

My configuration:

GRCK5000_3-1678217458092.png

As you can see below, things don't look right. 

 

GRCK5000_1-1678217129608.png

When I tried to follow this link https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kHoKSAU&l=en-US

I get this on the small laptop. As you can see, I can't see everything on one screen though everything looks good now.  I have to scroll left or right

My configuration:

GRCK5000_5-1678217761525.png

 

 

 

GRCK5000_4-1678217561960.png

How 

 

 

 

 

 

0 Kudos
Message 1 of 7
(1,369 Views)

Now you get to understand what all you need to consider while developing an application.

 

By any chance, did you enable scale with pane for the controls? I would disable them, so that the scrollbars popup leaving the controls at same size irrespective of the monitor.

 

To develop a proper application that works with a variety of monitor sizes, you need to implement quite chunk of pane resizing, and control resizing in the code to work around the weird scaling issues.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 7
(1,360 Views)

Scale with pane is  disabled for all controls and indicators

0 Kudos
Message 3 of 7
(1,340 Views)

Looks like you have modified/customized the UI without considering the implication of each decision it would result in a smaller monitor. 

 

In the current state, I would recommend starting from scratch and for each implementation consider how it would show up in a small monitor.

 

Could you please share the VI?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 4 of 7
(1,334 Views)

Could your problem be a font size change?

I ran into this problem in the past when compiled LabVIEW front panels changed font size.

There were some *.ini settings for the compiled code that fixed it for me.

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000fynASAQ&l=en-US

 

Message 5 of 7
(1,328 Views)

I think also if the scaling on the two different computers are different, you may run into issues like this.

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.
Message 6 of 7
(1,277 Views)

It mainly (or atleast for starters) look like a font scaling issue. Change the windows font scaling or add the appropriate keys to the applications ini.

Stuff like

appfont = Tahoma 9 (assuming it'll scale up)

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

Qestit Systems
Certified-LabVIEW-Developer
Message 7 of 7
(1,260 Views)