Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Alternative to expanding and shrinking font needed.

K_Hasledalen
Level 2
Level 2

Hi,


I have a form that has a Name Field, it's set to Arial Font 9.

I'd like the text to shrink ONLY when the name is too long to fit.  I do not want it to get larger if the name is short (this happens when I set the font = 0)

I cannot have this field set to "expand to fit" due to the layout constraints.

I need the font to stay at 9, unless the name is too long and then I'd like it to shrink.

Is this possible?

3 Replies
dcidev
Level 8
Level 8

The easiest way I can think of, if you want to maintain the height of your field, is to adjust the Paragraph>Spacing. Set the Above and Below to the same values until you get a size that is as close to 9pt as you can get it.

Kyle

K_Hasledalen
Level 2
Level 2

Thanks this helped, I set the top at 2.4 and the bottom at 2.5 and it worked like I needed.

thanks again!

K_Hasledalen
Level 2
Level 2

Although this worked in 'preview' mode.  It does not pull the information from the DB, it shows the whole field as blank when I change the settings to the Font = 0 as stated above.

Any ideas??? If I set the font to a size(ex: 9) then it populates.