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 7998721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:17:29+00:00 2026-06-04T15:17:29+00:00

I am making a C# program with a listview and in my PC and

  • 0

I am making a C# program with a listview and in my PC and netbook the columns sizes are perfect, but when I run the program in my friends computer the column’s size appear to be smaller, the text is being cut, for example, if my column shows “Hello Stackoverflow” in my PC, in my friend’s PC it shows “Hello Stac…” . The column size is set in the code, and he is not resizing…how may this be possible? We are using the same screen resoluiton (1080p), and even if he changes the resolution to something bigger (800×600), the column text is still cut out, just the window in general is bigger…may it be a default font from windows making all this problem??
Thank you all!!

  • 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-04T15:17:31+00:00Added an answer on June 4, 2026 at 3:17 pm

    This may be a matter of the DPI setting. Your friend may have “large fonts” enabled. Setting fixed column widths, you need to take the DPI setting into account. 100 pixels are always 100 pixels, but changing the DPI setting makes 8pt font be larger on your friends machine than on yours.

    You can easily compute this:

    int columnWidth = Desired Width / 96.0 * DPI;
    

    with Desired Width being the number of pixels you want the column to be wide and DPI being the horizontal DPI of the current machine.

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

Sidebar

Related Questions

I'm making a program to calculate flowrate but everytime you enter in the variables
I am making a program which implements the mergesort algorithm but instead of dividing
I am using the cool map making program DIY map and i want to
Im making a program for class that manages a Hotel. I have a function
I noticed while making a program that a lot of my int type variables
I'm making a program where you're firing a 'blaster', and I have 5 ammo.
I am making a program with native C++ and the WinAPI. This program has
I'm making a program that communicate with certain patient monitor using C sockets. I'm
So I'm making a program which is supposed to print a horizontal histogram of
I am making a program for class that manages a Hotel. I am able

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.