Ask Your Question
0

How do you align text in a form field

asked 2017-05-06 17:23:38 +0200

Avvy65 gravatar image

updated 2017-05-07 06:27:10 +0200

EasyTrieve gravatar image

I have the text aligned to center in a query, but it doesn't align to center on the form. I have Googled this and not found the answer. When I edit the form and click on a text box and then right click to alignment, there is no selection possible. Also the align button on the top tool-bar is grayed out.

Is there an easy way or ??

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2017-05-06 17:54:34 +0200

Ratslinger gravatar image

updated 2017-05-06 17:57:54 +0200

Alignment is found in the properties of a control. Right click the control & select Control (if a table, right the the column header & select Column). This brings up the properties dialog. You change alignment here: image description

Please refer to the LO documentation for more information. It contains more specifics on properties.

The formatting toolbar is not active when working with controls. If you click on the form itself, it is available.

If this answers your question please click on the ✔ (upper left area of answer).

edit flag offensive delete link more

Comments

Although posted in a comment on your first question, here is the location of the LO Base documentation - click here.

Ratslinger gravatar imageRatslinger ( 2017-05-06 18:04:06 +0200 )edit
0

answered 2019-07-16 09:42:00 +0200

traut gravatar image

Thanks - but does this actually work?

I tried all four values for vertical alignment: default, top, bottom and middle

Whenever I edit the form field, while I select the form field, it is aligned middle. And when I leave it, it is aligned top.

I checked with several PDF readers, all show this same.

edit flag offensive delete link more

Comments

Maybe it depends on which operating system you are using or which LO version. Does it work in LibreOffice?

ebot gravatar imageebot ( 2019-07-16 09:53:44 +0200 )edit

It does work within LO. But it doesn't for the PDF export. If you like I can send the form to you.

traut gravatar imagetraut ( 2019-07-16 09:58:24 +0200 )edit

@traut - There is no reference to Vertical alignment in the answer. There is also no reference to 'top, bottom and middle'. You may be looking at alignment of controls in toolbar.

Ratslinger gravatar imageRatslinger ( 2019-08-12 02:38:55 +0200 )edit

I'm not aware of any toolbar which does define the alignment of text within a form field - but even if, how would it change the behavior?

traut gravatar imagetraut ( 2019-08-13 11:06:27 +0200 )edit

@traut,

Where did you find:

values for vertical alignment: default, top, bottom and middle

as this was not in the answer presented.

Ratslinger gravatar imageRatslinger ( 2019-08-15 02:04:11 +0200 )edit

This was shown in the very first question: https://ibb.co/hVWFfGw

link text

traut gravatar imagetraut ( 2019-08-15 10:33:38 +0200 )edit

@traut,

Retracted my last comment by deleting it. Now realize the situation. This question is regarding Base. Your situation seems to be with Writer. The Text Box control in Writer does contain Vertical alignment but not when used in Base.

Best to ask as new question.

Ratslinger gravatar imageRatslinger ( 2019-08-15 19:53:06 +0200 )edit

I don't know where and how you do read the answers here - but I do see on this page a screenshot of the text box properties, comparable to my screenshot.

So I do understand that the text box properties are not the properties of the form field itself? A Text Box is not a form field for text?

So when I do enter text, it's not within a form field but within a text box? Then how do I create a form field to enter text - since the form menu does offer this as "text box" form, but nothing else for text : form menu

And still the question does remain: Why am I able to define horizontal alignment for this text box - which does work as expected. But I'm able to define vertical alignment for this text box, too - which does have no effect at all.

traut gravatar imagetraut ( 2019-08-15 20:46:05 +0200 )edit

@traut,

Have retracted my previous comment. Have found Vertical alignment in Base control (greyed out). Will try some testing with that.

Ratslinger gravatar imageRatslinger ( 2019-08-15 21:27:02 +0200 )edit

@traut,

Can confirm what you have stated. Vertical (only available with single-line text type), displays correctly on Form but PDF is always centered.

Best to file bug report -> Bugzilla

Ratslinger gravatar imageRatslinger ( 2019-08-15 21:45:09 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-05-06 17:23:38 +0200

Seen: 381 times

Last updated: Jul 16