Text cuts-off on some computers
-
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 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?
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.
-
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.
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.
-
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?
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++
-
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++