Select to view content in your preferred language

Scale to Fit Marker Text - ArcMap Option ... in ArcPro???

1509
7
03-24-2023 09:06 AM
brad_mapping
New Contributor

Hello all,

 
I have a question regarding Highway Shields and the scaling marker to fit text option in  ArcMap that I don't see in Arc Pro.
 
We created our Road Annotation in ArcMap and when we bring in the Road Annotation to Arc Pro it disavows our previous setting of applying "Scale Marker to Fit Text", increasing the size of the Shields well beyond the size we had utilized in our maps in ArcMap.  And now there's tremendous overlap as a result.
 
Hence all our highway shields are not Scaled as they were in ArcMap. Is there a simple fix for this?  I was looking at settings but didn't find a scale to fit text option. I saw several scale options but not what ArcMap actually did.  The fit to width, fit to height, fit to both did nothing to reduce the shield size to fit to the text.
 
We do shields across multiple states and they vary by county, state, federal etc.  It's difficult to set a standard Size for the shield as the text varies by length and you'd have overlap. 
 
If you are able or know someone who has an answer please let me know.
 
Thank you for any assistance you can provide.
 
Brad Fisher
7 Replies
CraigWilliams
Esri Contributor

Yes the option for this is on the Point symbol callout and is named scale. Specifically you'd want the "Width and height" option:
CraigWilliams_0-1680037216379.png

However you'll find it only grows the callout it doesn't shrink it. This is an oversight from how this worked in ArcMap and we'll look into satisfying your case.

brad_mapping
New Contributor

Sounds good.  We could definitely use scaling down... gotta fit lots of text around those shields.  We want to minimize the size not maximize it.

0 Kudos
AndreaB_
Frequent Contributor

Thanks for posting - I was looking for the same thing.

I would also like the 'Height Only' scale option. @CraigWilliams do you know if there is an existing Idea post about this whole topic?

This doesn't seem to carry over into AGOL Map Viewer. I would love this option there also. Here's my Idea Post: https://community.esri.com/t5/arcgis-online-ideas/scale-to-fit-marker-text-aka-scale-point-to-fit/id... Give it Kudos if you agree, thanks!

0 Kudos
JesseWickizer
Esri Contributor

As of ArcGIS Pro version 3.2, the point symbol callouts are now also scaled down (instead of only scaled up) to fit the label text. 

0 Kudos
DougBrowning
MVP Esteemed Contributor

Any way to scale the font size of a text element when I swap out the text in script?  I got it to recenter on text change by setting the anchor but if I add more text then my saved layout has it runs off the page and does not adjust the font size at all.  

title = layout.listElements("TEXT_ELEMENT",'Years')[0]
title.text = 

  I can change the font size to a set number but that would be just a guess based on the char limit.

DougBrowning_0-1730848521388.png

 

0 Kudos
JesseWickizer
Esri Contributor

Starting at ArcGIS Pro version 3.3, you can Set a fitting strategy on a rectangle text box in a layout to shrink the font size to fit the text within the text box.

DougBrowning
MVP Esteemed Contributor

I kind of got it working by setting the new text then resetting the width.  With 2 lines the fonts can end up being different but its closer at least.

thanks

0 Kudos