IDEMPIERE-1440:line description alignment wrong on document printing
This commit is contained in:
parent
f14c24a608
commit
d67471319f
|
@ -1503,7 +1503,7 @@ public class TableElement extends PrintElement
|
|||
if (str.length() > 0)
|
||||
{
|
||||
usedHeight = 0;
|
||||
String[] lines = Pattern.compile("$", Pattern.MULTILINE).split(str);
|
||||
String[] lines = Pattern.compile("\n", Pattern.MULTILINE).split(str);
|
||||
for (int lineNo = 0; lineNo < lines.length; lineNo++)
|
||||
{
|
||||
aString = new AttributedString(lines[lineNo]);
|
||||
|
|
Loading…
Reference in New Issue