Click here to Skip to main content
15,901,205 members
Home / Discussions / C#
   

C#

 
QuestionTextbox text scrunched Pin
LimitedAtonement23-Oct-09 4:38
LimitedAtonement23-Oct-09 4:38 
AnswerRe: Textbox text scrunched Pin
ely_bob23-Oct-09 6:11
professionalely_bob23-Oct-09 6:11 
one of three three things:

If you are "creating your own" text box.. I really recomend against it.. use the Rich text or normal text box... but if you are you are using GDI+ to do the drawing in which case you should be using Graphics.DrawString()... not cycling threw your characters.. this looks like what the problem is.. remember that if your want to use this approach that you will need to add in the letter padding manually (X+=3;).

Now if that is not the case:

You may have inadvertently set a flag somewhere for your first string and then re initialized(clearing the flag) for the subsequent strings.

Lastly if you are using different fonts, or units of measure you may get a squinched string...


But you could post some code.. that might help.
GeneralRe: Textbox text scrunched Pin
LimitedAtonement23-Oct-09 7:46
LimitedAtonement23-Oct-09 7:46 
QuestionItem Databound Pin
Ersan Ercek23-Oct-09 3:57
Ersan Ercek23-Oct-09 3:57 
AnswerRe: Item Databound Pin
Henry Minute23-Oct-09 4:19
Henry Minute23-Oct-09 4:19 
GeneralRe: Item Databound Pin
Ersan Ercek23-Oct-09 4:29
Ersan Ercek23-Oct-09 4:29 
Questioninstaller to install is SQL Server 2005 Express Edition Pin
Member 180672423-Oct-09 3:00
Member 180672423-Oct-09 3:00 
AnswerRe: installer to install is SQL Server 2005 Express Edition Pin
Searril23-Oct-09 3:36
Searril23-Oct-09 3:36 
QuestionTreeView in C# Pin
silva10323-Oct-09 2:53
silva10323-Oct-09 2:53 
AnswerRe: TreeView in C# Pin
Henry Minute23-Oct-09 4:13
Henry Minute23-Oct-09 4:13 
GeneralRe: TreeView in C# Pin
silva10323-Oct-09 4:47
silva10323-Oct-09 4:47 
GeneralRe: TreeView in C# Pin
Henry Minute23-Oct-09 4:53
Henry Minute23-Oct-09 4:53 
GeneralRe: TreeView in C# Pin
silva10323-Oct-09 8:29
silva10323-Oct-09 8:29 
GeneralRe: TreeView in C# Pin
Henry Minute23-Oct-09 9:01
Henry Minute23-Oct-09 9:01 
GeneralRe: TreeView in C# Pin
silva10323-Oct-09 16:44
silva10323-Oct-09 16:44 
QuestionString split Pin
Sebastian T Xavier23-Oct-09 1:52
Sebastian T Xavier23-Oct-09 1:52 
AnswerRe: String split Pin
dan!sh 23-Oct-09 2:02
professional dan!sh 23-Oct-09 2:02 
AnswerRe: String split [modified] Pin
musefan23-Oct-09 2:42
musefan23-Oct-09 2:42 
GeneralRe: String split Pin
Sebastian T Xavier23-Oct-09 3:23
Sebastian T Xavier23-Oct-09 3:23 
GeneralRe: String split Pin
J4amieC23-Oct-09 4:09
J4amieC23-Oct-09 4:09 
QuestionDestructor peculiarity Pin
DaveyM6923-Oct-09 1:25
professionalDaveyM6923-Oct-09 1:25 
AnswerRe: Destructor peculiarity Pin
Pete O'Hanlon23-Oct-09 1:38
mvePete O'Hanlon23-Oct-09 1:38 
GeneralRe: Destructor peculiarity Pin
DaveyM6923-Oct-09 2:20
professionalDaveyM6923-Oct-09 2:20 
GeneralRe: Destructor peculiarity Pin
Pete O'Hanlon23-Oct-09 2:25
mvePete O'Hanlon23-Oct-09 2:25 
GeneralRe: Destructor peculiarity Pin
Gideon Engelberth23-Oct-09 7:47
Gideon Engelberth23-Oct-09 7:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.