Page 1 of 1
easy text wrapping question.
Posted: Sun Jul 26, 2009 2:08 am
by biffbaxter
I cannot seem to get text to wrap in any of the fields I have tried. whether it is scrolling field, or text entry field, I have played with all of the various geometry and size options, I have checked and unchecked the "Dont wrap" box in properties, but I cannot for the life of me get text to wrap.
I am taking the input from one field and putting it into another field, and the one input field may be longer as it is a variable length text entry (that a user keys in). But when it gets put into another field I need to make sure it wraps so it is all visible. currently I cannot seem to get that to happen.
what properties or items do I need to set to get a field to limit to say 80 characters wide and wrap text?
I am running rev studio 3.5 eval.
Regards,
Ron
Posted: Sun Jul 26, 2009 7:40 am
by Janschenkel
Is your target field a list field or a table field by any chance? Neither of those will allow wrapping of text.
Jan Schenkel.
Posted: Sun Jul 26, 2009 10:02 am
by BvG
"don't wrap" changes the behaviour of text when a line is longer then the field is wide. so rev by itself will only wrap text if the text would overflow the field on the right.
If you want a specific amount of chars, and then wrap it independently of field size, you should look into the formattedwith property, and use a monotype font. then you can check wetter a line is wider then a specific amount of pixels, and then insert a return there.
Note that rev used to have problems with wrapping non-latin scriptures that don't use spaces, like japanese or korean. but i think this was fixed some when. Still, keep in mind that (latin) text has no spaces in it, then it won't automatically wrap.
text wrap
Posted: Sun Jul 26, 2009 2:19 pm
by biffbaxter
Hi guys thanks for the responses.
1. Its not a list field or table field.
2. I cannot seem to get the dont wrap to function no matter what.
Here is what I do, I just drag and drop a plain text field onto a blank new card. I define its size and try to limit geometry, etc. and the text will just continue to flow off to the right. (whether its centered, left or right justified) I have tried multiple ways of getting it to wrap with plain old vanilla fonts of various and well know type. (ie. courier, arial, times, tahoma, etc).
Thanks for the advice on formatwidth property, I will look into that today to see if I can get it to effect any sort of change. But so far this one simple item is a show stopper.
- Ron
Posted: Sun Jul 26, 2009 2:47 pm
by Mark
Dear biffbaxter,
Very long words and url's, for instance, don't get wrapped. Perhaps that's your problem?
Mark