积极答复者
同一款软件,在不同的操作系统下界面高度出现偏差

问题
-
http://media3.ihompy.com/201008/5/104136_12809722663AcX.jpg
如图示,左边是win7下的,右边是XP SP3(绿色的线条不是界面本身有的,是后来为了分析ps上去的),都是基于C# 2008开发的界面,宽度一致,高度却出现了偏差,这可能是什么原因造成的,求解
答案
-
打印没什么问题吧
我遇到类似的问题,这个好像和显示器有关系,每个显示器相对显示位置都不一样。
分辨率也可能导致这个问题。
比如划一个线条,在不同显示器上显示的长度是不一样的。
可以动态调整控件位置来适应不同显示器
family as water- 已标记为答案 BoberSongModerator 2010年8月11日 7:21
-
基于设备像素的都有这个问题。
基于物理尺寸的在显卡驱动向Windows撒谎的时候也有问题。
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP- 已建议为答案 mazhou 2010年8月6日 7:50
- 已标记为答案 BoberSongModerator 2010年8月11日 7:21
全部回复
-
打印没什么问题吧
我遇到类似的问题,这个好像和显示器有关系,每个显示器相对显示位置都不一样。
分辨率也可能导致这个问题。
比如划一个线条,在不同显示器上显示的长度是不一样的。
可以动态调整控件位置来适应不同显示器
family as water- 已标记为答案 BoberSongModerator 2010年8月11日 7:21
-
基于设备像素的都有这个问题。
基于物理尺寸的在显卡驱动向Windows撒谎的时候也有问题。
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP- 已建议为答案 mazhou 2010年8月6日 7:50
- 已标记为答案 BoberSongModerator 2010年8月11日 7:21