TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Shawn
NA
27
0
GUI resolutions problems
Jun 8 2012 10:22 AM
I have been creating a GUI application in C#. As I place controls on each form and view the application on different resolutions, the controls become distorted. Other articles recommend docking and anchoring, but I'm not sure how that fixes the problem. It seems that docking and anchoring simply keeps controls relative to the top, bottom, right, or left of the form. For instance, I might add a label and text box. Viewing on a different resolution causes the label and text box to overlap. This problem still happens when I anchor the controls. I am having a hard time getting my head around how docking and anchoring is supposed to solve the problem. I have done some relative positioning by grabbing the parent control size and calculating the child sizes and spacing using calculated percentages which works fine, but is very time consuming. Any recommendations would be appreciated. Another related question is how a developer tests their GUI app on different resolutions? Is there a tool for such? Thanks
Reply
Answers (
7
)
Which technic, model are used to transfer signal from webcam to PC via wifi?
how to select a block on image and save it to the objects with GDI+ c#?