resolution-independence

Ensuring that application is independent of users' screen resolution

帅比萌擦擦* 提交于 2020-01-04 06:15:11
问题 Is there any easy way to run an application created in C# on Visual Studio 2005 on any different PC, regardless of its screen resolution? 回答1: Screen resolution? Windows Forms in .NET 2.0 has some mechanisms for dealing with different DPI and it has a better layout system than in .NET 1.1. In general, use layout panels like FlowLayoutPanel, TableLayoutPanel, etc instead of fixing your controls at X/Y coordinates and you'll have a much easier time dealing with different window sizes. If you

Ensuring that application is independent of users' screen resolution

心已入冬 提交于 2020-01-04 06:14:09
问题 Is there any easy way to run an application created in C# on Visual Studio 2005 on any different PC, regardless of its screen resolution? 回答1: Screen resolution? Windows Forms in .NET 2.0 has some mechanisms for dealing with different DPI and it has a better layout system than in .NET 1.1. In general, use layout panels like FlowLayoutPanel, TableLayoutPanel, etc instead of fixing your controls at X/Y coordinates and you'll have a much easier time dealing with different window sizes. If you

Is it possible to rescale a Qt GUI without rewriting the code?

假如想象 提交于 2019-12-23 16:01:57
问题 I'm in charge of a large-ish (100+KLOC) Qt app with dozens of windows and hundreds of different types of widgets in it. Today, a user asked me if there was any way to make some of the app's larger windows fit better on his 13" laptop's display. Of course there are ways to make the windows more space-efficient, reorganize the GUI to allow more showing/hiding of various things, use a smaller font, and so on... but I think what he really wants is a way to simply scale the entire window uniformly

Which screen size / density combinations should I support for bitmap background image?

回眸只為那壹抹淺笑 提交于 2019-12-12 13:15:28
问题 I'm writing an application where I will need a number of full screen bitmap backgrounds. Based on my naive reading of Supporting Multiple Screens in the Android documentation, to cover all my bases I should probably have 16 versions of each bitmap: all pairs of [ small, normal, large, xlarge ] and [ ldpi, mdpi, hdpi, xhdpi ] . This should reduce the work the CPU has to do for scaling the images, but will come at great storage cost. However, this seems wildly inefficient for two reasons: Not

Flex : Cross resolution applications

守給你的承諾、 提交于 2019-12-08 02:51:48
问题 What is the best way to create applications in Flex/AIR, which look and feel the same irrespective of the screen resolution? 回答1: When creating the layout in your flex application, you can achieve a consistent screen resolution independent look and feel from using relative scaling . This is much akin to creating a liquid layout with HTML. For example, to create a simple two column application— left navigation and content— you only need two containers, one predefined and one left to scale

Scaling entire screen in XNA

爷,独闯天下 提交于 2019-12-03 17:34:52
问题 Using XNA, I'm trying to make an adventure game engine that lets you make games that look like they fell out of the early 90s, like Day of the Tentacle and Sam & Max Hit the Road . Thus, I want the game to actually run at 320x240 (I know, it should probably be 320x200, but shh), but it should scale up depending on user settings. It works kind of okay right now, but I'm running into some problems where I actually want it to look more pixellated that it currently does. Here's what I'm doing

Is the ViewBox the best thing to use to achieve resolution independence in WPF?

蓝咒 提交于 2019-11-30 15:07:46
问题 I'm developing an application that needs to be resolution independent. The application will always be full screen so I have to design my UI so that the monitor resolution will not impair the use of the application. I've been spending a good amount of time playing around with WPF trying to accomplish this. Today I found out about the Viewbox. It seems to solve all my problems. All I have to do is place the Grids used to layout each screen in Viewboxes and like magic I have a resolution

Is the ViewBox the best thing to use to achieve resolution independence in WPF?

时间秒杀一切 提交于 2019-11-30 13:46:09
I'm developing an application that needs to be resolution independent. The application will always be full screen so I have to design my UI so that the monitor resolution will not impair the use of the application. I've been spending a good amount of time playing around with WPF trying to accomplish this. Today I found out about the Viewbox. It seems to solve all my problems. All I have to do is place the Grids used to layout each screen in Viewboxes and like magic I have a resolution independent application. However, this just seems to easy. It doesn't feel right. Should I be using Viewboxes?

Resolution independent or monitor size independent WPF apps

ε祈祈猫儿з 提交于 2019-11-30 08:45:37
问题 how could i develop resolution independent and monitor size independent wpf apps. monitor size independent means here suppose i develop a wpf apps in 15inch monitor and when i will view that apps in 17 inch monitor then often UI looks different so how could i get rid of this problem in WPF. please guide in detail. thanks 回答1: What you are looking for is Liquid Layout in WPF. Avoid specifying explicit Width and Height for your elements and it should scale up to whatever screen resolution

Resolution independent or monitor size independent WPF apps

大兔子大兔子 提交于 2019-11-29 07:50:49
how could i develop resolution independent and monitor size independent wpf apps. monitor size independent means here suppose i develop a wpf apps in 15inch monitor and when i will view that apps in 17 inch monitor then often UI looks different so how could i get rid of this problem in WPF. please guide in detail. thanks What you are looking for is Liquid Layout in WPF. Avoid specifying explicit Width and Height for your elements and it should scale up to whatever screen resolution available. Of course, MinWidth , MaxWidth and MinHeight, MaxHeight are also useful in restricting the size.