Hello,
I am trying to generate a pdf using acro - form elements. To position the
form elements I am using tables just like the registration form example.
However, the problem is that I have two kinds of textfield elements, on with
the label on the right side like this:
XXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXX label
XXXXXXXXXXXXXXXX
and one with the label on the bottom:
XXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXX
label
So I use two kinds of tables, a table with one column (t1) and one table
with two columns (t2) to reach this.
The problem is that I need to position this two textfield beside each other.
So I created another table (t3) where I added theese tables as nested
tables. The problem is that table (t2) gets stretched. So the result looks
like this:
(t1) (t2)
XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX label
XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXX
label XXXXXXXXXXXXXXXX
I hope you know what I mean. As you can see the textfield column of table
(t2) gets stretched to fit the row since the text field ist the complete
column. (I think the label - row gets stretched too but I am not sure. Since
the align of the label is correct, this would be no problem). I tried to
setFixedHeigth on both columns of (t2 ) but it has no effect.
If I use setFixedHeight on the cell of table (t3) then the size both tables
(t1 and t2) is reduced and I loose the label of (t1). I have also made some
tries with setNoWrap but I didn't get it working.
Can somebody tell me the correct code?
Regards
Peter
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions