Ask Your Question
0

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

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

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

Comments

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
0

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

pierre-yves samyn gravatar image

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

edit flag offensive delete link more
0

answered 2017-04-13 22:09:43 +0100

BSK713 gravatar image

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!

edit flag offensive delete link more
0

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

Comments

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

Question Tools

1 follower

Stats

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

Seen: 1,317 times

Last updated: Apr 13 '17