I'm getting a form in xml format from an old legacy system that I cannot change. In the file there are some lines which are drawn using --------. Since they are a specific lenght regardless of the text around them I can't convert it underlined text. If I convert them to ____ the layout works but the line is too close to the next line. I'd like to convert the ---- one for one to something better or calculate the placement and draw an actual line. I was hopeing someone else had some thoughts on this since everything I try either ends up with the line in the wrong place or the wrong size.

I'm relitivly new to xml so I'm probably missing something obvious. Any help would be apreciated.