I read and article talking about moving beyond 960px width for websites. This width is considered optimal since it is divisable by 3, 4, 5, 6, 8, 10, 12, 15, and 16 (no these aren't the Lost Numbers ;-) ) This helps in grid placement and this really doesn't apply to Silverlight apps but I started to wonder what would be optimal.
我阅读和文章谈论超过960px宽度的网站。这个宽度被认为是最佳的,因为它可以分为3,4,5,6,8,10,12,15和16(没有这些不是丢失的数字;-))这有助于网格放置,这真的没有不适用于Silverlight应用程序,但我开始想知道什么是最佳的。
What would you recommend as the optimal resolution for a Silverlight app?
您会推荐什么作为Silverlight应用程序的最佳分辨率?
I'm thinking 960 x 720 would be in the range of almost every monitor out there.
Or maybe the next step down 720 x 540?
我想960 x 720将在几乎所有显示器的范围内。或者下一步可能是720 x 540?
4 个解决方案
#1
Personally, for the type of apps I do, I wouldn't bother to try and support people with less than 960px of available space. There is always going to be somebody with outdated tech/monitor size...and 960 is probably going to cover 95% or more of any target audience for me.
就个人而言,对于我所做的应用程序类型,我不会费心去尝试支持可用空间少于960px的人。总会有一些人拥有过时的技术/显示器尺寸...... 960可能会覆盖95%或更多的目标受众。
#2
The optimum for a Silverlight application would be whatever the user has the resolution set to - the application scales accordingly.
Silverlight应用程序的最佳选择是用户设置的分辨率 - 应用程序相应地缩放。
Refer to this MSDN article for more information.
有关更多信息,请参阅此MSDN文章。
#3
One thing you need to be careful of is that a lot of laptops have a maximum vertical resolution of 800 pixels, and once you add the title bar, toolbars, start menu, status bar, etc. you're actually very easily below 600 pixels for vertical screen space. It can be even worse with netbooks. I've seen too many Silverlight apps that are 600 pixels or more vertically and they get cut off because the div isn't set to the proper height to make the page scroll.
您需要注意的一件事是,许多笔记本电脑的最大垂直分辨率为800像素,一旦您添加标题栏,工具栏,开始菜单,状态栏等,您实际上非常容易低于600像素用于垂直屏幕空间。上网本可能会更糟糕。我已经看到太多Silverlight应用程序垂直600像素或更多,它们被切断,因为div没有设置到适当的高度,使页面滚动。
#4
I agree with Anthony that you should just let the app resize itself. Just make sure that the app and all of the controls scale well (nothing gets cut off or stretched too big or too small) when going to a really small size to a really big size.
我同意Anthony的观点,你应该让应用程序自行调整大小。只要确保应用程序和所有控件都可以很好地扩展(没有任何东西被切断或拉得太大或太小),只需要一个非常小的尺寸到一个非常大的尺寸。
#1
Personally, for the type of apps I do, I wouldn't bother to try and support people with less than 960px of available space. There is always going to be somebody with outdated tech/monitor size...and 960 is probably going to cover 95% or more of any target audience for me.
就个人而言,对于我所做的应用程序类型,我不会费心去尝试支持可用空间少于960px的人。总会有一些人拥有过时的技术/显示器尺寸...... 960可能会覆盖95%或更多的目标受众。
#2
The optimum for a Silverlight application would be whatever the user has the resolution set to - the application scales accordingly.
Silverlight应用程序的最佳选择是用户设置的分辨率 - 应用程序相应地缩放。
Refer to this MSDN article for more information.
有关更多信息,请参阅此MSDN文章。
#3
One thing you need to be careful of is that a lot of laptops have a maximum vertical resolution of 800 pixels, and once you add the title bar, toolbars, start menu, status bar, etc. you're actually very easily below 600 pixels for vertical screen space. It can be even worse with netbooks. I've seen too many Silverlight apps that are 600 pixels or more vertically and they get cut off because the div isn't set to the proper height to make the page scroll.
您需要注意的一件事是,许多笔记本电脑的最大垂直分辨率为800像素,一旦您添加标题栏,工具栏,开始菜单,状态栏等,您实际上非常容易低于600像素用于垂直屏幕空间。上网本可能会更糟糕。我已经看到太多Silverlight应用程序垂直600像素或更多,它们被切断,因为div没有设置到适当的高度,使页面滚动。
#4
I agree with Anthony that you should just let the app resize itself. Just make sure that the app and all of the controls scale well (nothing gets cut off or stretched too big or too small) when going to a really small size to a really big size.
我同意Anthony的观点,你应该让应用程序自行调整大小。只要确保应用程序和所有控件都可以很好地扩展(没有任何东西被切断或拉得太大或太小),只需要一个非常小的尺寸到一个非常大的尺寸。