Ask Your Question

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

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

HKaMuc gravatar image

updated 2020-09-12 08:02:43 +0100

Alex Kemp 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 +0100 )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 +0100 )edit

3 Answers

Sort by » oldest newest most voted

answered 2020-07-18 17:10:54 +0100

Its pretty possible now (version 6.4.4)

  1. Select text inside the text box and select "Text Attributes" in context menu
  2. Choose vertical and horizontal position you prefer
edit flag offensive delete link more

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

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 +0100 )edit

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

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
Login/Signup to Answer

Question Tools

1 follower


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

Seen: 2,807 times

Last updated: Jul 18