Hi everyone.
I recently made a desktop widget in C# and WPF. I used Visual Studio 2010 to publish the app. Here's the problem.
On my screen, everything looks perfect fine. All the textboxes, labels, and pictures line up just fine. However, whenever I send the app to someone else who is on a different monitor resolution than mine, everything appears to be misplaced or overlapping. How can I fix this?
3 replies to this topic
#1
Posted 30 September 2011 - 07:38 PM
|
|
|
#2
Posted 01 October 2011 - 05:29 AM
As far as I know WPF applications adapt their selves to the current resolution and DPI.
When you edit it in Visual Studio it might look good, but I think you need to dock the controls properly so that they stay in the right place regardless of the resolution.
When you edit it in Visual Studio it might look good, but I think you need to dock the controls properly so that they stay in the right place regardless of the resolution.
Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics
#3
Posted 01 October 2011 - 06:56 AM
Thanks Davide. Do you know any tutorials on how to dock the components/controls so they stay put on different resolutions?
#4
Posted 01 October 2011 - 07:54 AM
Well, 'dock' is not the correct term for it, but I think you can select the items, go to the properties window and check 'Snap to device pixels', it might work.
Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









