Page 1 of 1
Tab width
Posted: Tue Dec 01, 2015 7:01 pm
by Da_Elf
Im trying to set some text to wrap inside a field that is setup like a table with some defined tab widths but i keep getting this
Re: Tab width
Posted: Tue Dec 01, 2015 7:21 pm
by dunbarx
Hi.
I believe that when you set the properties of a field to be a table field, the "dontWrap" is automatically set to "true". If I understand what you are after, you want one "tab" to wrap. A dataGrid can do this by playing with the row template properties. But DG's are daunting.
You will have to do one of two things. Either make adjacent fields, and manage the data, so if you wrapped a line in the third field (or any field), you would pad the other fields with returns so that they all lined up. This only takes a little work, and should be fun.
Or you can test the number of chars in a table field, and when that value exceeds the length of the space within a tab, add a return. You still need to pad the other "tabs".
I would make adjacent fields. They can all scroll together easily, of course.
Craig Newman
Re: Tab width
Posted: Wed Dec 02, 2015 12:41 am
by Da_Elf
thanks craig. i ended up making my own system. i dont like the data grid