LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Different Computers, Same Resolution, Same VI, Different Looking VIs

I am having trouble with my vi looking the way I want it to. It looks perfect on my dev computer but all the text and boxes are the wrong size on a few of my test computers. All computers are 1024x780 WinXP....

Whats going on?

Thanks

PS Crappy picture but, thats MSPaint for you.

Cason Clagg
SwRI
LabView 7.1, Windows XP
0 Kudos
Message 1 of 23
(5,008 Views)
It looks as though it's the font size that's changed, not the size of the boxes...
0 Kudos
Message 2 of 23
(4,992 Views)
The text fields look taller and the LEDs look bigger to me. But the font is definately the main problem.

Cason Clagg
SwRI
LabView 7.1, Windows XP
0 Kudos
Message 3 of 23
(4,985 Views)
The one on the left looks like XP skins, while the one on the right looks like 'classic' style. Could that the issue or a contributing factor?
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 4 of 23
(4,978 Views)
I dunno if the LEDs look bigger to me, but the text fields being taller I think is a consequence of the font size.

I looked through all the build properties and options, as well as VI Properties and haven't found anything that (I think) would cause that... I'm sure someone with more experience would know though.

Sorry I couldn't be of more help!
0 Kudos
Message 5 of 23
(4,974 Views)
I tryed changing the Application and System Font to something all computers have (Assuming the default font might not be on the computer with the weird looking application). This did not seem to take affect and I still have the problem. The font changing in LV seems screwy to me.

Cason Clagg
SwRI
LabView 7.1, Windows XP
0 Kudos
Message 6 of 23
(4,970 Views)
I know this is probably annoying, but try changing the font to something noticably different on the development machine, rebuild, and try it on the exe machine, and see if the change was scaled, or whether the font is the same size as it has always been.
0 Kudos
Message 7 of 23
(4,957 Views)

@CasonSwRI wrote:
I tryed changing the Application and System Font to something all computers have (Assuming the default font might not be on the computer with the weird looking application). This did not seem to take affect and I still have the problem. The font changing in LV seems screwy to me.



It's late and my brain is closing down, but if it's a built executable that you're running on your "test computers", you could explicitly set the System font, App font etc in the exe's INI file.

Check out Mads' post here for an explanation better than I can write.
=====================================================
Fading out. " ... J. Arthur Rank on gong."
Message 8 of 23
(4,942 Views)

@CasonSwRI wrote:
I am having trouble with my vi looking the way I want it to. It looks perfect on my dev computer but all the text and boxes are the wrong size on a few of my test computers. All computers are 1024x780 WinXP....

Whats going on?

Thanks

PS Crappy picture but, thats MSPaint for you.




This proplem is most often caused by different settings for the font in the display settings. Go to Display Properties->Appearence->Font Size. Here you can select Normal, Large and Extra Large. this setting will basically zoom every single font with a certain factor so that the font size you select in the application is not anymore correct. This setting typically is used for those (IMO stupid) settings where you have a enormous resolution on a device which is way to small for that resolution (such as 1500*1280 on a 15" screen). To allow text to be still readable Windows introduced this scaling factor to enlarge fonts.

Another location where fonts can be enlarged would be the settings for handicapped. While the principle works the same it is again a different setting in Windows which influences the font size of any and all applciations on that machine.

Apple in earlier days avoided this whole mess by having fixed size resolutions depending on the model of monitor attached to the computer. This was one reason why it was actually more suitable for DTP and other graphical applications although some people felt that Apple was limiting them in their free choice of how bad they wanted to look their applications on screen.

Rolf Kalbermatter

Message Edited by rolfk on 06-30-2005 02:53 AM

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 9 of 23
(4,924 Views)
To quote the LabVIEW Development Guidelines Manual...

"The actual font used for the three standard fonts (application, dialogue, and system) varies depending on the platform. For example, when working on Window, preferences and video driver settings affect the size of fonts. Text might appear larger or smaller on different systems, depending on these factors. To compensate for this, allow extra space for larger fonts and enable the Size to Text option on the shortcut menu. Use carriage returns to make multiline text instead of resizing the text frame.

To prevent labels from overlapping objects because of font changes on multiple platforms, allow extra space between controls. For example, if a label is to the left of an object, justify the label to the left and leave some space to the right of the text. If you center a label over or under an object, center the text of that label as well. Fonts are the least portable aspect of the front panel so always test them on all target platforms"

I know that's more or less already been said, but at least now you know what NI recommends doing about it... hope this helps,

Geoff
Message 10 of 23
(4,907 Views)