在笔记本电脑上渲染太小

编程入门 行业动态 更新时间:2024-10-28 04:20:22
本文介绍了在笔记本电脑上渲染太小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

当我在台式计算机上创建合适的UI大小时,它看起来 smller比我在大多数笔记本电脑上创建的要好. 专业人士如何处理此问题.

When I create a good UI size on desktop computer , it looks smller than I would have created it on most laptops. How do the pro''s deal with this.

推荐答案

可能是因为屏幕尺寸较小;) 你不能取悦所有人. 您可以尝试调整窗体和控件的大小/位置,但并非所有方法都能正常进行. 大多数用户会将分辨率调整为自己喜欢的设置. 因此,找出大多数用户拥有的分辨率和屏幕尺寸,并加以满足. 欢呼声 Probably because it''s smaller due to the screen size ;) You can''t please everybody. You could try to resize/reposition your forms and controls, but not all will do so gracefully. Most users will adjust the resolution to a setting they''re comfortable with. So, find out what resolution and screen size the majority of your users have, and cater for that. Cheers

由于我不知道您的UI是什么样,我只能建议您以支持各种屏幕尺寸的方式来组织UI,但是您可能已经达到了自己得出结论. 您可以使用类似以下内容的内容: Codeplex上的AvalonDock/ [ ^ ]即可轻松实现. 另一种方法是使用类似于此方法的内容来缩放内容: 使用WPF的UI缩放(UI缩放) [ ^ ] 问候 Espen Harlinn Since I''ve got no idea about what you UI looks like, I can only advice you to organize you UI in a manner that supports various screen sizes – but you have probably reached that conclusion yourself. You can use something like: AvalonDock on Codeplex/[^] to achieve this quite easily. Another approach is to scale contents using something similar to this approach: UI Scaling (UI Zooming) with WPF[^] Regards Espen Harlinn

更多推荐

在笔记本电脑上渲染太小

本文发布于:2023-11-05 15:37:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1561224.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:笔记本电脑   太小

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!