Ask Your Question

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

asked 2016-12-01 02:22:53 +0200

HKaMuc gravatar image

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

-> pdf file @ owncloud :: pw: multiline :: link working until 2016-12-31

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 flag offensive close merge delete


owncloud: password protected... :)

pierre-yves samyn gravatar imagepierre-yves samyn ( 2016-12-01 08:26:37 +0200 )edit

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

floris v gravatar imagefloris v ( 2016-12-01 10:23:45 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2016-12-01 08:38:40 +0200

pierre-yves samyn gravatar image


  • 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...


edit flag offensive delete link more

answered 2017-03-14 19:44:17 +0200

slandi gravatar image

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.

edit flag offensive delete link 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.

jogiorda gravatar imagejogiorda ( 2017-04-05 18:38:24 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-12-01 02:22:53 +0200

Seen: 1,803 times

Last updated: Mar 14 '17