• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

How can the margin in text fields be set - Acrobat Pro DC - 2020

New Here ,
Apr 16, 2020 Apr 16, 2020

Copy link to clipboard

Copied

Simple question - How can the margins be set inside text form fields? (a JavaScript option is fine)  

 

In a multi-line text field, the top margin (padding) seem excessive and does not match the margin seen in single line fields.  The following graphics illustrates this issue:  

 

All lines displayed in the multi-line field, notice the extra margin/padding at the top of the field. The font used does not seem to matter.  This example uses Consolas (a fixed size font - like Courier)

image.png

Moving up the bottom of the field does not change the top margin.

image.png

 

Calibri displays the same issue (commonly used in Microsoft products)

image.png

 

After much searching there seemed to be at one time a 'Paragaph' tab in the form field properties dialog.  No more.

 

Any JavaScript solutions?

 

Thank you for your time.

Alex Lindberg

 

TOPICS
Acrobat SDK and JavaScript

Views

955

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 16, 2020 Apr 16, 2020

Copy link to clipboard

Copied

LATEST

It's still there, but not under Properties. You have to set the field as having Rich Text Formatting (that is done via Properties, under the Options tab), then click into it and press Ctrl+E. A floating toolbar will open. Select the text and click the More button in that toolbar and there you'll find the Paragraph tab with this setting. However, this setting doesn't "stick", so if you clear the text in the field and then enter something else into it that setting will no longer be applied.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines