LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

屏幕分辨率

在一台台式机上(屏幕所能设置的最低分辨率:1024*768)上编写LabVIEW程序,当在平板电脑上运行时(屏幕分辨率:800*600),界面上的字、控件都错位了,请问大家有什么好的解决办法,谢谢!
0 Kudos
Message 1 of 11
(7,376 Views)

You need to define misplaced.  Are they off the screen?  Are the proprtions different?  Are the fonts suddenly larger?  Do you have the visual settings at 100, 125, or 150%?

0 Kudos
Message 2 of 11
(7,345 Views)

This tpyically happens (1) if the panel or other front panel elements are set to scale with the panel size, or (2) if you use symbolic fonts and the system uses different fonts or font syzes for the dektop theme.

 

Please show us a screenshot of the panel for each environment so we can get a better idea on what's going on. 

0 Kudos
Message 3 of 11
(7,308 Views)

因为现在平板电脑没有在我身边,没有方法截图(临时的解决办法是我在平板电脑上把错位的都修正了)。

错位的意思是:比如控件的标题字体变大了,原先稍长的标题可能显示不全(可能还有其它问题)。

您说的“proprtions different”是什么意思?visual settings at 100, 125, or 150%应当怎么设置,是不是通过ctrl+=放大?

我编写LabVIEW台式机(屏幕所能设置的最低分辨率:1024*768)用的是Windows 8.1系统,平板电脑(屏幕分辨率只能设置为800*600)Windows XP系统。标题的字体设置为“系统字体”,是不是和这个有关?

 

所有控件我没有选择“根据窗格缩放对象”。

 

谢谢您的指导!

0 Kudos
Message 4 of 11
(7,157 Views)

在Labview的文件--VI属性--窗口大小中,是否勾选“使用不同分辨率显示器时保持窗口比例”?此外,所有的字体选择为应用程序字体或系统字体试试。

0 Kudos
Message 5 of 11
(7,140 Views)
没有选择“使用不同分辨率显示器时保持窗口比例”,目前我使用的都是系统字体
0 Kudos
Message 6 of 11
(7,117 Views)

不同的操作系统,系统字体会不同的。

一个办法是不选 “Size to Text",然后调整标题, 预留足够的空间。

Untitled.png

 

或者干脆别用系统字体,选用一种两个操作系统都有的字体。

 

 

George Zou
0 Kudos
Message 7 of 11
(7,104 Views)

Don't use system fonts, because they will change according to the desktop theme of the PC. If one PC has larger fonts, the fonts will be larger.

You need to use define fonts (e.g. tahoma 13). You can also overwrite the system fonts in the application ini file.

0 Kudos
Message 8 of 11
(7,102 Views)
您说的使用默认字体(e.g. tahoma 13),这个字体大小13,是可以改为更大的吧? 好的,多谢各位,我回去试试,有问题再请教大家。
0 Kudos
Message 9 of 11
(7,094 Views)

楼上的解答我觉得是正确的,取消勾选系统字体,然后选定某种特定的字体后问题应该会得到改善,另外不同分辨率会影响字体大小么?将调整为文本大小也取消勾选,觉得这样就不会出现更换系统后字体变得很奇怪的问题了。

0 Kudos
Message 10 of 11
(7,067 Views)