Wrapped text in a right-aligned column does not line up correctly
Options
<p>I have a Label control in the header row of a narrow column, containing a long string of text, with each word being long enough to fill the cell. The control and cell are set to align right, with auto whitespace.</p>
<p> </p>
<p>For PDF output only, all bar the first and last lines of the wrapped text are indented slightly from the right of the cell:</p>
<p> </p>
<p>
<p> </p>
<p>For PDF output only, all bar the first and last lines of the wrapped text are indented slightly from the right of the cell:</p>
<p> </p>
<p>
0
Comments
-
<p>You could always try something like this in the onCreate script:</p>
<pre class="_prettyXprint _linenums:0">
this.text = this.text.replaceAll(" ","\n");</pre>
<p>This should get rid of the space that is the character that's staying on the line with each word forcing it to be "indented" to the left.</p>
<p> </p>
<p>The problem with this solution would be if you have shorter words that can both fit on a single line.</p>
Warning No formatter is installed for the format ipb0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 104 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax