Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8071613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:44:37+00:00 2026-06-05T13:44:37+00:00

Often I will create a winforms app and everything looks great when I run

  • 0

Often I will create a winforms app and everything looks great when I run it. Then I go to a user’s computer and I see that labels are crunched, fonts are bigger and causing text to be cut off etc. What is going on? How can I prevent this?

I especially see this on newer windows OS’, i.e. Windows 7 etc. How can I make the form look the same (or at least good) for all users, on multiple windows OS versions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T13:44:39+00:00Added an answer on June 5, 2026 at 1:44 pm

    If the UI is getting messed up because the fonts on the system are bigger or the DPI of the system is different from what you expected there are a couple of things you should do:

    • do not use fixed coordinates and sizes
    • do use docking and anchoring to position and size controls
    • do use AutoSize to size controls according to their content
    • do use Graphics.MeasureString() to calculate the size of strings instead of assuming a fontsize

    EDIT

    Of course it is also possible to distribute fonts (if legal) to make sure the correct/expected fonts are available but you will still need to anticipate various DPI settings.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Should one use @property for variables that will be accessed very often, such as
Often, when searching for answers, I have found that certain websites will allow you
I'm writing an application for personal use that will track how often I reach
Here is my problem. Our tech. writer or customer service will often create new
Often times a developer on my team will create a new Visual Studio project
I need to create some windows service which will execute every some often, every
I am trying to create a SQL statement that will allow me to remove
When running the following class the ExecutionService will often deadlock. import java.util.ArrayList; import java.util.Collection;
I've been using PHP for years to build websites. Often I will use an
Quite often I will set up WPF UserControl with a declarative DataContext: <UserControl...> <UserControl.DataContext>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.