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
Garrett
NA
2
0
Adjusting User Controls to fit different dpi settings.
Mar 25 2010 5:31 PM
Hey,
I have an issue with a WinForms app I'm working on. I've created a user control which contains some standard controls, and then placed that user control inside a tab control and window and set the Dock property to Fill.
My issue arises when I use my app on a different PC which has higher DPI setting than the standard 96. So what happens when I try 120dpi is the Windows become larger (good), and all the text and buttons in the user control resize accordingly as well(good). But the problem is that the space the User Control takes up is no longer the 'fill' area, and I get space around the bottom and right of the windows that doesn't get used. I'll link two pictures that show what is happening.
Using Tab Control
Using Windows Form
Now how do I get my User Controls to fill the area? I know I can resize the window itself to normal dimensions but then I still get the issue in the first picture where the buttons are too large and overlap.
Thanks for any Help you can offer!
Reply
Answers (
0
)
checking if a value exists in an array
How to add label in datagrid for windows form?