所以我的老板刚买了4K显示器,现在我的应用看起来像邮票 [英] So my boss just got a 4K monitor, and now my apps look like postage stamps

查看:63
本文介绍了所以我的老板刚买了4K显示器,现在我的应用看起来像邮票的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,是的,我的老板(让我们称他为吉姆)(他的名字叫吉姆)有一个花哨的显示器,这是最大的可笑细节。他的主屏幕上有4K。



然而,我是一个低调的农奴,在去年的一台笔记本电脑的键盘上砰砰直跳,运行闪亮的新超级很酷的社区版vs2015。



现在,我不是说我要砍柴头来点燃锅炉,所以我的蒸汽驱动的双芯宏基可以开启视觉工作室,但是这个东西和8+核心之间有一个巨大的区别,谁知道他可以把多少公羊塞进他的野兽。



我是不要嫉妒。许多。换句话说,我可怜的SQL争吵大约需要12秒钟的旧忠实用户(笔记本电脑),但在他身上,代码已经完成了网络的事情,并已检索到数据,扫过地板,铺床并准备早餐所有这些都在你的手指抬起鼠标之前。



他的抱怨? (对不起胡扯)在我们所有客户机器上运行良好的代码在4K显示器上无法很好地扩展。当我说一个标准的1366x768笔记本电脑屏幕看起来就像他邮箱上的邮票时,我不是在开玩笑。



有没有人知道缩放库或其他可能的东西救命?我猜这将是一个常见的问题,因为这些显示器变得更加普遍。



对于书写风格的书写道歉。我真的不太了解。

Hi all, yeah my boss (let's call him Jim) (His name is Jim) has got a fancy monitor which is ridiculously detailed to the max. 4K on his primary screen.

I, however, am a lowly serf thumping away on the keyboard of a late-last-year laptop, running the shiny new super-cool community version of vs2015.

Now, I'm not saying I have to chop up wood to fire up the boiler so my steam-driven dual-core acer can crank up visual studio, but there's a mighty difference between this thing and the 8+ core with who knows how much ram he could stuff into his beastie.

I'm not jealous. Much. Putting it another way, my pathetic SQL-wrangling takes about 12 seconds on old faithful (laptop), but on his, the code has already finished doing the network thing and has retrieved the data, swept the floors, made the bed and prepared breakfast all before your finger has lifted off the mouse.

His complaint? (sorry for waffling) The code that runs perfectly well on all our customers machines just doesn't scale well on a 4K monitor. I'm not kidding when I say that a standard 1366x768 laptop screen looks like a postage stamp on his box.

Does anyone know of a scaling library or something which could help? I'm guessing this is going to be a common problem as these monitors become more prevalent.

Apologies for the letter-style of writing. I really don't get out much.

推荐答案

Winforms应用程序没有任何帮助 - 它们实际上不能自动扩展,因为字体大小等等不要自动向上或向下更改以匹配控件的大小。所以你最终得到了漂亮的大按钮,里面写着极小的小写......:笑:



从理论上讲,WPF在这方面要好得多,但唯一真正的解决方案是从第一天开始设计你的应用程序,使其与大小无关 - 与VS一样,中央工作区和外面的工具。



但现在是讨论套件升级的好时机,这样你就可以针对目标硬件进行开发......
There is nothing that will help with Winforms apps - they really don't scale well automatically because font sizes and so forth don't change automatically either up or down to match the size of controls. So you end up with nice big buttons with teeny tiny writing in them... :laugh:

In theory, WPF is a lot better at this kind of thing, but the only real solution is to design your apps from day one to be size independent - in much the same way VS is, with a central work area and the tools round the outside.

But this is a good time to be asking about a kit upgrade so you can develop against the target hardware...


这篇关于所以我的老板刚买了4K显示器,现在我的应用看起来像邮票的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆