Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Tab stops with justifyed text alignement in TextField

Avatar

Avatar
Level 1
igorp61560734
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
igorp61560734
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
igorp61560734
Level 1

22-02-2018

Hello,

I am dynamically filling a paragraph in a TextField divided with a tab stop to mimic a numbered list.

My problem is with text alignment.. I set it to justify and because of that the text renders with an offset larger then the rest of the lines of the text.

Example:

What I want to achieve:

1.  This text is offset by a tab

     this line starts at the preset tab-stop

This is what happens

1.     This text is offset by a tab + some offset to fill the line

     this line starts at the preset tab-stop

My paragraph:

<body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">

    <p style="text-indent:-0.5cm;tab-stops:left 0cm left 0.5cm;line-height:13pt;text-align:justify;font-family:Arial;font-size:10pt;text-decoration:none">1.<span style="xfa-tab-count:1" />$SOME_DYNAMIC_MULTILINE_TEXT$</p>

</body>

My question is how to justify the text so that it always starts at the tab-stop offset?

Thank you!!

Accepted Solutions (0)

Answers (0)