屏幕分辨率

发布于 2024-08-27 20:46:39 字数 76 浏览 6 评论 0原文

我正在测试一个应用程序,需要使用 Windows 窗体应用程序使用不同的屏幕分辨率来测试它。

目前测试的常见分辨率是多少?

I am testing an application and need to test it with different screen resolutions with windows form applications.

What is the common resolution tested for now days?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

暮年慕年 2024-09-03 20:46:39

这在很大程度上取决于您的市场/目标受众。

我认为桌面应用程序的安全最低分辨率为 1024x768,但不要忘记迷你电脑正在兴起,它们的屏幕比传统电脑更小。如果你要执行其中一项,你还需要考虑“更时髦”的决议。

就最大分辨率而言……天空是极限。不过我认为如果你在 1280x1024 下看起来不错,那么在任何更大的尺寸下也会很好。

That depends a great deal on your market/target audience.

I think your safe minimum 1024x768 for desktop apps but don't forget that mini PCs are taking off and they have smaller screens than traditional. If you're gonna run on one of these you need to consider "funkier" resolutions as well.

As far as maximum resolutions... the sky's the limit. Though i think if you look good in 1280x1024 you'll be fine in anything larger too.

我三岁 2024-09-03 20:46:39

这将取决于 Windows 窗体的布局方式、宽高比、分辨率以及所使用的字体。之前,当我开发 WinForms 应用程序时,我曾经严格遵守分辨率的最小尺寸 640 x 480,知道并有信心在更高的分辨率下也可以。

遗憾的是,在 1,024 x 768 等分辨率下,它会使表格看起来有点小!

这是你需要注意的事情。

另一个看待问题的角度是国际化,是的,每个标签都有燃烧的国际行话,这可能会破坏 winform 本身的流程和布局,假设您使用的标签有一个常见的单词,例如:

+-----------+
|First name |
+-----------+

现在,假设这是翻译的以德语(通过 babelfish.yahoo.com)为例,标签将是

+--------+
|Vorname |
+--------+

Wait!它在西班牙语中变得更小(再次通过 babelfish.yahoo.com)

+-------+
|Nombre |
+-------+

是的,标签已经缩小,最终结果是,由于国际化,可能会存在潜在的差距或标签相互流动。

当然,我们在 24 英寸平面屏幕上拥有分辨率高达 1,920 x 1,0768 的精美大屏幕,这不是很好吗?但更重要的是,winform 的可读性也会根据是否使用 ClearType 而有所不同甚至上网本的分辨率也为 1,024 x 600...

这是一个有趣的问题,可能会暗地里打开一罐蠕虫注意 好吧,我!我说得好像国际化是其背后的重点,你只是不知道,直到你问自己和你的上级,受众是谁以及范围是什么?

如果你也以可访问性为目标,你也会获得奖励积分,大字体,小字体,字段如何布局,这方面没有硬性或快速的规则,做少量的研究当然是有益的,放置一个可以的组件会非常方便。自动调整表单布局的大小,以适应不同的分辨率向上缩放,但是国际化的潜力如何......?

好问题值得我+1!

This will depend on how the Windows forms is laid out, in relation to aspect size and resolution, the fonts used. Before when I developed WinForms applications, I used to rigidly stick to the minimum size of resolution 640 x 480, knowing and having the confidence that it will be fine in resolutions higher then that.

Sadly as it seems, it would make the form look a tad small when under a resolution such as 1,024 x 768!

This is something you need to be aware of.

Another angle of looking at is this - internationalization, yes that flaming international lingo for each label, this could disrupt the flow and layout of the winform itself, suppose you used a label that had a common word such as:

+-----------+
|First name |
+-----------+

Now, suppose this was translated to German (via babelfish.yahoo.com) for an example that label would be

+--------+
|Vorname |
+--------+

Wait! It gets smaller in Spanish (again via babelfish.yahoo.com)

+-------+
|Nombre |
+-------+

Yes, the label has shrunk and the end result, there could be potential gaps or labels flowing into one another because of the internationalization.

Sure, is'nt it great that we all have big fancy screens with resolutions up to 1,920 x 1,0768, on flat 24" screens, but even more so, the readability of the winforms can vary as well depending on whether ClearType is used or not! Even netbooks have a resolution of 1,024 x 600...

This is an interesting question that can underhandedly open up a can of worms as to BEWARE! Ok, I know I made it sound like as if internationalization was the big point behind it, you just do not know until you ask yourself and your superiors, who is the audience and what scope?

You will also earn bonus points if you target accessibility as well, big fonts, small fonts, how are the fields laid out, there is no hard or fast rules involved in this, it would be beneficial to do a small amount of research. Sure, it would be darn handy to drop on a component that will automatically resize the layout of the form scaling upwards for different resolutions, but what about the potential for internationalization...?

Good question worthy of a +1 from me!

勿忘心安 2024-09-03 20:46:39

这完全取决于您的应用程序。对于我编码的最后一个自助服务终端应用程序,分辨率是规范的一部分,并设置为 1280x1024。如果您正在制作游戏,则需要支持各种分辨率,包括全屏和窗口。

That depends entirely on your application. For the last kiosk application I coded, the resolution was part of the specification, and was set to 1280x1024. If you're making a game, you'll need to support a wide range of resolutions, both fullscreen and windowed.

岁吢 2024-09-03 20:46:39

您还需要考虑宽高比(即:宽与正常等)。

You will also want to take aspect ratio's into account (ie: wide vs. normal, etc.).

玩心态 2024-09-03 20:46:39

我通常设计 Windows 窗体,以便在调整窗体大小时,所有内容都可以正确调整大小。这通常意味着为表单设置合理的最小尺寸。我发现这比针对一种特定分辨率进行设计效果更好。

I usually design my windows forms, so that when you resize the form, everything resizes correctly. This usually means setting a reasonable minimum size for the form. I find that this works better than designing for 1 specific resolution.

风和你 2024-09-03 20:46:39

请参阅 Google 浏览器大小

编辑添加:该实验室功能可能会消失,成为 已添加到 Google Analytics

See Google Browser Size.

Edited to add: That labs feature may be going away, to be added to Google Analytics.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文