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

Set text size to auto using javascript

Community Beginner ,
Mar 10, 2021 Mar 10, 2021

Hello!  I just thought I would post this as I have been trying to figure out how to set the text size to auto using javascript.  What finally worked  was setting the text size to ""  Posting it just in case someone else is searching for the same thing.

 

this.getField(fName).textSize = "";

 

TOPICS
JavaScript
1.3K
Translate
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 ,
Mar 10, 2021 Mar 10, 2021
LATEST

The value of this property is a number. Use the value 0 for Auto.

Translate
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