# Is it possible to center text vertically in a text box form control?

I would like to set up a (pdf) form based on a writer doc. See below the pdf output...

All text boxes in this form should center the input horicontally and vertically. The horizontal alignment is working - the vertical alignment unfortunaly not...

edit retag close merge delete

( 2016-12-01 08:26:37 +0100 )edit

Why do you want that? A form is functional, not a form of art. Just my two cents of course.

( 2016-12-01 10:23:45 +0100 )edit

Sort by » oldest newest most voted

Hi

• Default value for Text-Type is Multi-line, Vert. Alignment disabled, so...
• You can select Text-Type: Single-lineto enable Vert. Alignment and select Middle but of course control will only have one line.
• Vert. Alignment also disabled with Multi-line with formatting

Sorry, I have no workaround...

Regards

more

In hopes that it might not be too late, but I did find a work around, if you place the text box in single line mode, then set the vertical alignment to "TOP" and then set the type back to Multi-line, the text will align to the top of the text box. Hope this helps.

more

I would say this doesn't work, unless you want the vertical alignment defaulting to the top, which it already does. I have tried changing to single line, changing vertical alignment to the middle, then going back to multi-line, but the text entry still defaults to the TOP. What is happening for me is I am getting white space over-top of the top line of the typed-in text. Horizontal alignment doesn't help, neither does making the text box larger.

( 2017-04-05 18:38:24 +0100 )edit

I am happy that you provided this answer. I was searching everywhere. I have now changed the form field to have TEXT TYPE Single Line. Thank you!

more