Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Text cuts-off on some computers

Text cuts-off on some computers

Scheduled Pinned Locked Moved C#
helpquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rudy net
    wrote on last edited by
    #1

    I wrote a program with a whole bunch of tabs and each tab has subtabs with a bunch of controls in them. I distributed the program inside my company and some users complained that the text is cutoff on some controls. I asked for a snapshot and what happens is that the text wraps around on some of the controls and since the users are not aware of the wrap around feature to them it looks like the text is cut-off on top and on bottom. Any ideas on how I can fix this problem so my GUI looks the same on all computers?

    I C 2 Replies Last reply
    0
    • R rudy net

      I wrote a program with a whole bunch of tabs and each tab has subtabs with a bunch of controls in them. I distributed the program inside my company and some users complained that the text is cutoff on some controls. I asked for a snapshot and what happens is that the text wraps around on some of the controls and since the users are not aware of the wrap around feature to them it looks like the text is cut-off on top and on bottom. Any ideas on how I can fix this problem so my GUI looks the same on all computers?

      I Offline
      I Offline
      if_mel_yes_else_no
      wrote on last edited by
      #2

      Welcome to the world of compatability. Trying to get an application to look the same on all computers is near impossible unless everyone in the company has the same type of operating system. If you're using studio 2005 and C# then the tab control's headers should auto-size to the length of the text. In 2003 I think you have to set auto-size yourself, either that or there will be a property called WordWrap that you can set to false.

      R 1 Reply Last reply
      0
      • I if_mel_yes_else_no

        Welcome to the world of compatability. Trying to get an application to look the same on all computers is near impossible unless everyone in the company has the same type of operating system. If you're using studio 2005 and C# then the tab control's headers should auto-size to the length of the text. In 2003 I think you have to set auto-size yourself, either that or there will be a property called WordWrap that you can set to false.

        R Offline
        R Offline
        rudy net
        wrote on last edited by
        #3

        Thanks for the reply; however, my main problem is that the text in miscellaneous controls such as checkboxes and labels are getting wrapped around even though they look fine on some computers. Reason I mentioned about the tabs and subtabs is that I have way to many controls to modify them one by one, so I am hoping there is some method to make the GUI look the same on all PCs. Your input about the OS is very good, I will check to see if that is the reason. Hope that's it because eventually everyone should go to XP. Thanks.

        1 Reply Last reply
        0
        • R rudy net

          I wrote a program with a whole bunch of tabs and each tab has subtabs with a bunch of controls in them. I distributed the program inside my company and some users complained that the text is cutoff on some controls. I asked for a snapshot and what happens is that the text wraps around on some of the controls and since the users are not aware of the wrap around feature to them it looks like the text is cut-off on top and on bottom. Any ideas on how I can fix this problem so my GUI looks the same on all computers?

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Make your app check the screen resolution and inform users if it's too low. Or, find out the lowest screen res your users have, and develop at that res. Christian Graus - Microsoft MVP - C++

          R 1 Reply Last reply
          0
          • C Christian Graus

            Make your app check the screen resolution and inform users if it's too low. Or, find out the lowest screen res your users have, and develop at that res. Christian Graus - Microsoft MVP - C++

            R Offline
            R Offline
            rudy net
            wrote on last edited by
            #5

            Thanks Christian, I should be able to get feedback on the resolution of all the users who are having problem and hopefully I can see a pattern to solve the problem. Regards, Rudy.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups